All API Operations related with tags
Last updated 2 months ago
Retrieves all tags
OK
Retrieves a single tag by its unique ID
Creates a new tag
Name of the tag
Updates an existing tag
const response = await fetch('https://api.nuvio.io/v1/tags', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "errors": [ "text" ], "data": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" } ] }
const response = await fetch('https://api.nuvio.io/v1/tags/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "errors": [ "text" ], "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" } }
const response = await fetch('https://api.nuvio.io/v1/tags', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "name": "text" }), }); const data = await response.json();
const response = await fetch('https://api.nuvio.io/v1/tags/{id}', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();