One share link, with its latest accesses
The share and its 50 latest manifest requests, newest first, each with the name the reader gave and the outcome.
tenantKeyAuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
id*stringuuidThe share.
application/json- response
A share link as its owner reads it. Never the link, its key or the passcode.
id*stringuuidlabel*stringShown to the reader; empty for none.
length <= 80categories*array<>start*stringInclusive start of the time window.
date-timeend*stringExclusive end of the time window.
date-timeexpires_at*stringWhen the link stops working.
date-timepasscode*booleanWhether the link needs a passcode.
passcode_failures*integerWrong or missing passcodes so far; the 10th disables the link.
status*stringactive: the link works. expired: past expires_at. revoked: stopped before its
expiry (see revoked_reason). disabled: too many wrong passcodes.
"active""expired""revoked""disabled"revoked_at*|date-timerevoked_reason*|"owner""consent""provider_erased""passcode_attempts"nullobservations*integerHow many Observations the file holds.
file_bytes*integerThe size of the encrypted file when it was made.
accesses*integerHow many manifest requests were served the file.
last_accessed_at*|The latest of them.
date-timecreated_at*stringdate-timerecent_accesses*array<>The 50 latest manifest requests, newest first.
curl -X GET 'http://localhost:8080/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/shares/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: Bearer ohs_sk_...'{ "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", "recent_accesses": [ { "at": "2019-08-24T14:15:22Z", "recipient": "string", "outcome": "served" } ]}