Get a list of tags
GET/api/tags
Get a list of tags
Request
Query Parameters
type of the tag
order by clause
number of items per page
page number that you want (see meta for pagination infos)
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
data object[]required
Unique identifier of the tag
name object
Name of the tag
Version française de cet attribut
Nederlandse versie van deze veld
English version of this attribute
Deutsche Version dieses Attributs
icon object
Object of translatable strings (please ensure that you manage correctly the type of the value). Keys are the language code (e.g. fr, nl, en, de). More infos on taxonomy here : https://bdl217-docs.collegedesproducteurs.be/docs/intro#taxonomy-lists
Version française de cet attribut
Nederlandse versie van deze veld
English version of this attribute
Deutsche Version dieses Attributs
slug object
Short human readable identifier (no accentuation + whitespaces replaced by hyphens)
Version française de cet attribut
Nederlandse versie van deze veld
English version of this attribute
Deutsche Version dieses Attributs
Reference id of the tag (used by the provider that created the tag). null if it's created internally
Reference type of the tag (used by the provider that created the tag). null if it's created internally
Type of the tag (e.g. labels, uom, Allergen, etc..)
Order by sequence within the tag type
Active status of the tag (true or false)
Date of creation of the tag
Date of last update of the tag
links object[]
{
"data": [
{
"id": 0,
"name": {
"fr": "string",
"nl": "string",
"en": "string",
"de": "string"
},
"icon": {
"fr": "string",
"nl": "string",
"en": "string",
"de": "string"
},
"slug": {
"fr": "string",
"nl": "string",
"en": "string",
"de": "string"
},
"ref_id": "string",
"ref_type": "string",
"type": "string",
"order_column": "string",
"active": true,
"created_at": "string",
"updated_at": "string"
}
],
"current_page": 0,
"first_page_url": "string",
"from": 0,
"last_page": 0,
"last_page_url": "string",
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"next_page_url": "string",
"path": "string",
"per_page": 0,
"prev_page_url": "string",
"to": 0,
"total": 0
}