Api referenceEndpointsShares
The user's share links
GET
Oldest first, every status. Never a link, a key or a passcode: the server does not keep them.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
id*stringFormat
uuidcursor?stringThe next_cursor of the previous page.
limit?integerRange
1 <= value <= 1000Default
100One page, by created_at.
application/json- response
data*array<>next_cursor*|Null on the last page.
curl -X GET 'http://localhost:8080/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/shares' \ -H 'Authorization: Bearer ohs_sk_...'{ "next_cursor": "string", "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "categories": [ "activity" ], "start": "2019-08-24T14:15:22Z", "end": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "passcode": true, "passcode_failures": 0, "status": "active", "revoked_at": "2019-08-24T14:15:22Z", "revoked_reason": "owner", "observations": 0, "file_bytes": 0, "accesses": 0, "last_accessed_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ]}