/api/user/tags
View or create tags that are assigned to files.
Info
This endpoint requires authentication.
GET Request
Response
Status: 200 OK
Content-Type: application/json
An array of Tag objects.
POST Request
Body
Content-Type: application/json
Property | Type | Description |
---|---|---|
name | string | Required. Name for the tag. |
color | string | Required. Color for the tag (HEX). |
Example
Create a tag named "Screenshots" with a red color.
{"name": "Screenshots","color": "#ff0000"}
Response
Status: 200 OK
Content-Type: application/json
A Tag object representing the created tag.
Error Responses
-
400 Bad Request
If the request body is invalid, missing required fields, or a tag with the same name already exists.
/api/user/urls/:id/password
Check if a password is correct for a password-protected short URL.
/api/user/tags/:id
View, update, or delete a specific tag owned by the currently authenti...
Last updated: 6/1/2025
Edit this page on GitHub