Skip to main content
Version: v0.23.1

Attach tags to a bookmark

POST 

https://try.hoarder.app/api/v1/bookmarks/:bookmarkId/tags

Attach tags to a bookmark

Request

Path Parameters

    bookmarkId BookmarkIdrequired

Body

The tags to attach.

    tags object[]required
  • Array [
  • tagIdstring
    tagNamestring
  • ]

Responses

The list of attached tag ids

Schema
    attachedTagId (string)[]required

Authorization: http

name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://try.hoarder.app/api/v1/bookmarks/:bookmarkId/tags");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"tags\": [\n {\n \"tagId\": \"string\",\n \"tagName\": \"string\"\n }\n ]\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://try.hoarder.app/api/v1
Auth
Parameters
— pathrequired
Body
{
  "tags": [
    {
      "tagId": "string",
      "tagName": "string"
    }
  ]
}