Get file assignment
GET
/api/v1/tags/items/{path}
const url = 'https://example.com/api/v1/tags/items/example';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 https://example.com/api/v1/tags/items/example \ --header 'Authorization: Bearer <token>'Returns the file assignment. It requires a signed-in User with the data scope. It can return 400 if the request is invalid, 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/tags/items/{path}. Inputs: path. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”path
required
string
Responses
Section titled “Responses”Media typeapplication/json
object
path
required
string
tags
required
Array<string>
Examplegenerated
{ "path": "example", "tags": [ "example" ]}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}