Tags
Creates a Tag resource.
Authorizations
Body
titlestring | nullRequired
backgroundColorstring | nullOptional
Background color of label
textColorstring | nullOptional
Text color of label
descriptionstring | nullOptional
Description of tag
Responses
201
Tag resource created
400
Invalid input
403
Forbidden
422
An error occurred
post
/tagsPOST /tags HTTP/1.1
Host: api.rogerroger.io
Content-Type: application/ld+json
Accept: */*
Content-Length: 73
{
"title": null,
"backgroundColor": null,
"textColor": null,
"description": null
}{
"@context": "text",
"@id": "text",
"@type": "text",
"id": null,
"backgroundColor": null,
"textColor": null,
"title": null,
"description": null,
"createdAt": null,
"updatedAt": null
}Retrieves a Tag resource.
Authorizations
Path parameters
idstringRequired
Tag identifier
Responses
200
Tag resource
Responseall of
403
Forbidden
404
Not found
get
/tags/{id}GET /tags/{id} HTTP/1.1
Host: api.rogerroger.io
Accept: */*
{
"@context": "text",
"@id": "text",
"@type": "text",
"id": null,
"backgroundColor": null,
"textColor": null,
"title": null,
"description": null,
"createdAt": null,
"updatedAt": null
}Updates the Tag resource.
Authorizations
Path parameters
idstringRequired
Tag identifier
Body
idstring | nullOptional
backgroundColorstring | nullOptional
textColorstring | nullOptional
titlestring | nullOptional
descriptionstring | nullOptional
createdAtstring | nullOptional
updatedAtstring | nullOptional
Responses
200
Tag resource updated
Responseall of
400
Invalid input
403
Forbidden
404
Not found
422
An error occurred
patch
/tags/{id}PATCH /tags/{id} HTTP/1.1
Host: api.rogerroger.io
Content-Type: application/merge-patch+json
Accept: */*
Content-Length: 117
{
"id": null,
"backgroundColor": null,
"textColor": null,
"title": null,
"description": null,
"createdAt": null,
"updatedAt": null
}{
"@context": "text",
"@id": "text",
"@type": "text",
"id": null,
"backgroundColor": null,
"textColor": null,
"title": null,
"description": null,
"createdAt": null,
"updatedAt": null
}Replaces the Tag resource.
Authorizations
Path parameters
idstringRequired
Tag identifier
Body
idstring | nullOptional
backgroundColorstring | nullOptional
textColorstring | nullOptional
titlestring | nullRequired
descriptionstring | nullOptional
createdAtstring | nullOptional
updatedAtstring | nullOptional
Responses
200
Tag resource updated
Responseall of
400
Invalid input
403
Forbidden
404
Not found
422
An error occurred
put
/tags/{id}PUT /tags/{id} HTTP/1.1
Host: api.rogerroger.io
Content-Type: application/ld+json
Accept: */*
Content-Length: 117
{
"id": null,
"backgroundColor": null,
"textColor": null,
"title": null,
"description": null,
"createdAt": null,
"updatedAt": null
}{
"@context": "text",
"@id": "text",
"@type": "text",
"id": null,
"backgroundColor": null,
"textColor": null,
"title": null,
"description": null,
"createdAt": null,
"updatedAt": null
}Retrieves the collection of Tag resources.
Authorizations
Query parameters
pageintegerOptionalDefault:
The collection page number
1itemsPerPageinteger · max: 30OptionalDefault:
The number of items per page
15idstringOptional
id[]string[]Optional
Responses
200
Tag collection
Responseall of
Tag.jsonld collection.
403
Forbidden
get
/tagsGET /tags HTTP/1.1
Host: api.rogerroger.io
Accept: */*
{
"member": [
{
"@context": "text",
"@id": "text",
"@type": "text",
"id": null,
"backgroundColor": null,
"textColor": null,
"title": null,
"description": null,
"createdAt": null,
"updatedAt": null
}
],
"totalItems": 1,
"view": {
"@id": "string",
"type": "string",
"first": "string",
"last": "string",
"previous": "string",
"next": "string"
},
"search": {
"@type": "text",
"template": "text",
"variableRepresentation": "text",
"mapping": [
{
"@type": "text",
"variable": "text",
"property": null,
"required": true
}
]
}
}Last updated

