-
Notifications
You must be signed in to change notification settings - Fork 8
DocumentLibraryTags
Michael Rybintsev edited this page Aug 8, 2019
·
3 revisions
This API allows users to see all the tags on the documents in that workspace. There is also an option to see all the tags in a workspace starting with the specific letters. You can obtain a link for this resource from the folder get.
Issue a GET request to the workspace-tags
URI from the workspace element of a Folder resource or a Document resource.
GET /files/workspaces/1234/folders/root/tags HTTP/1.1
Accept: application/vnd.huddle.data+json
Authorization: OAuth2 frootymcnooty/vonbootycherooty
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+json
{
"links": [
{ "rel": "self", "href": "..." },
{ "rel": "parent", "href": "..." }
],
"tags" : ["tag1", "my tag"]
}
GET /files/workspaces/1234/folders/root/tags HTTP/1.1
Accept: application/vnd.huddle.data+xml
Authorization: OAuth2 frootymcnooty/vonbootycherooty
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+xml
<documentLibraryTags>
<links>
<link rel="self" href="..." />
<link rel="parent" href="..." />
</links>
<tags>
<tag>tag1<tag>
<tag>my tag<tag>
</tags>
</documentLibraryTags>
Name | Description | Methods |
---|---|---|
self |
The current URI of the document library tags | GET |
parent |
The URI of the document library to which these settings pertain | GET |
Issue a GET request to the workspace-tags
URI from the workspace element of a Folder resource or a Document resource with a prefix of my.
GET /files/workspaces/1234/folders/root/tags?q=my HTTP/1.1
Accept: application/vnd.huddle.data+json
Authorization: OAuth2 frootymcnooty/vonbootycherooty
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+json
{
"links": [
{ "rel": "self", "href": "..." },
{ "rel": "parent", "href": "..." }
],
"tags" : [
{ "text" : "my tag"},
{ "text" : "my tag 2"},
]
}
GET /files/workspaces/1234/folders/root/tags?q=my HTTP/1.1
Accept: application/vnd.huddle.data+xml
Authorization: OAuth2 frootymcnooty/vonbootycherooty
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+xml
<workspaceTags>
<links>
<link rel="self" href="..." />
<link rel="parent" href="..." />
</links>
<tags>
<tag text="doms tag" />
<tag text="doms tag 1" />
</tags>
</workspaceTags>
start |= documentLibrarySettings
documentLibrarySettings = element h:documentLibrarySettings {
element h:links {
link *
},
element h: tags {
tag *
}
}
- Basic concepts
-
Resources
- Actor
- Approvals
- BulkProcess
- Calendar
- Membership
- Company
- Document
- Document library settings
- Folder
- Paged Folder
- Pins
- Integrations
- Form
- Friends
- Invitation
- Link
- Document Lock
- Folder Lock
- Localisation
- MemberAutocomplete
- Notifications
- Offline item
- PeopleBulkProcess
- Permissions
- Presence
- PublishedDocuments
- Recents
- Recommendations
- Recycle Bin
- Search
- Share
- Tasks (Todos), File Requests, Approvals
- Tasks on Documents
- Actions
- UserApprovals
- User
- VersionHistory
- Workspace
- Workspaces
- SamlPartners
- Logout
- Impersonation
- Administration
- WebHooks