Share links
GET
/api/v1/shares
const url = 'http://localhost:3000/api/v1/shares';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/shares \ --header 'Authorization: Bearer <token>'The project’s, on what you may share.
Scope: write.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Links
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
kind
required
string
name
required
string | null
target
required
url
required
string format: uri
password
required
boolean
expired
required
boolean
createdBy
required
string
createdAt
required
string format: date-time
Example
{ "data": [ { "kind": "view", "target": { "type": "collection" } } ]}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}