List Public Keys
Changed onList Public Keys
Request
- Base URLhttps://app.files.com/api/rest/v1
- URLhttps://app.files.com/api/rest/v1/public_keys
- Authnone declared
Query parameters
User ID. Provide a value of 0 to operate the current session's user.
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are workspace_id, user_id, title or created_at.
If set, return records where the specified field is equal to the supplied value. Valid fields are created_at and workspace_id. Valid field combinations are [ workspace_id, created_at ].
If set, return records where the specified field is greater than the supplied value. Valid fields are created_at.
If set, return records where the specified field is greater than or equal the supplied value. Valid fields are created_at.
If set, return records where the specified field is less than the supplied value. Valid fields are created_at.
If set, return records where the specified field is less than or equal the supplied value. Valid fields are created_at.
Response
A list of PublicKeys objects.
Example response
[
{
"id": 1,
"title": "My public key",
"created_at": "2000-01-01T01:00:00Z",
"expires_at": "2000-01-01T01:00:00Z",
"expired": true,
"fingerprint": "43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8",
"fingerprint_sha256": "V5Q5t/ghT3R8Tol5GX9385bzmpygWVRnLuI9EXNrjCX",
"status": "complete",
"last_login_at": "2000-01-01T01:00:00Z",
"generated_private_key": "example",
"generated_public_key": "example",
"username": "User",
"user_id": 1
}
]Changes
- info
added the new optional
queryrequest parameterfilter - info
added the new optional
queryrequest parameterfilter_gt - info
added the new optional
queryrequest parameterfilter_gteq - info
added the new optional
queryrequest parameterfilter_lt - info
added the new optional
queryrequest parameterfilter_lteq - info
added the new optional
queryrequest parametersort_by
- info
- info
api tag
Public Keysadded
- info