Proinde concepta rabie saeviore, quam desperatio incendebat et fames, amplificatis viribus ardore incohibili in excidium urbium matris Seleuciae efferebantur, quam comes tuebatur Castricius tresque legiones bellicis sudoribus induratae.
Nam sole orto magnitudine angusti gurgitis sed profundi a transitu arcebantur et dum piscatorios quaerunt lenunculos vel innare temere contextis cratibus parant, effusae legiones, quae hiemabant tunc apud Siden, isdem impetu occurrere veloci. et signis prope ripam locatis ad manus comminus conserendas denseta scutorum conpage semet scientissime praestruebant, ausos quoque aliquos fiducia nandi vel cavatis arborum truncis amnem permeare latenter facillime trucidarunt.
/tags
Create a new tag link to your team.
Configuration
Security
Need Token from login
Type : Header
curl --request POST \ --url https://api.apifulldoc.com/api/v1/tags \ --header 'Authorization: Bearer 2|AXcaJkiyqdESRKDACW27UzGwRbAhvf6MJINtt93t' \
Parameters
/
Request Body
Type : application/json
{ "name": require|string|min:5|max:255|unique }
Responses
Type : application/json
- 201
{ "code": integer, "message": string, "data": { "name": string, "updated_at": datetime with UTC, "created_at": datetime with UTC, "id": integer } }
- 401
{ "code": integer, "message": string }
- 422
{ "code": integer, "message": string }
Examples
Request
curl --request POST \ --url https://api.apifulldoc.com/api/v1/tags \ --header 'Authorization: Bearer 2|AXcaJkiyqdESRKDACW27UzGwRbAhvf6MJINtt93t' \ --header 'Content-Type: application/json' \ --data '{ "name": "test" }'
Responses
201
{ "code": 201, "message": "Tag created", "data": { "name": "tagff", "updated_at": "2022-03-14T12:04:12.000000Z", "created_at": "2022-03-14T12:04:12.000000Z", "id": 301 } }
401
Check you Bearer token of you rules and access with your administrrator.
{ "code": 401, "message": "Unauthorized request. Unauthenticated." }
422
Check the input values.
{ "code": 422, "message": "Input datas are not correct. The name must be at least 5 characters." }
PATCH /TAGS/{id}
Security :
need Bearer Access-Token from login
- bearer : string
exemple : bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODA4MFwvYXBpXC9sb2dpbiIsImlhdCI6MTY0NTA4ODEzNSwiZXhwIjoxNjQ1MDkxNzM1LCJuYmYiOjE2NDUwODgxMzUsImp0aSI6IlhEQ1pHeHRKZjJGQmJmUVQiLCJzdWIiOiI0NjE5N2FlNi0xMjMxLTQyNWUtYWYxZC0wYTA0NGQxYWEwM2YiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.KoVSQxdygnweKYp-PInhXEjnhGH4O0lY8u2ZDJaPCEo
Parameters :
- Schéma :
– id : integer
exemple : 1
Request Body :
- Type : application/json
- Schéma :
– name : string
exemple : Invoice
Responses :
Type : application/json
- 200
Schéma :
– name : string
exemple : Invoice
– id : integer
exemple : 1 - 400
Schéma :
– System error - 401
Schéma :
– Unauthorized - 402
Schéma :
– status : error
– message : name of field and error
exemple : {“name”: [“The is required.”]}
DELETE /TAGS/{id}
Security :
need Bearer Access-Token from login
- bearer : string
exemple : bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODA4MFwvYXBpXC9sb2dpbiIsImlhdCI6MTY0NTA4ODEzNSwiZXhwIjoxNjQ1MDkxNzM1LCJuYmYiOjE2NDUwODgxMzUsImp0aSI6IlhEQ1pHeHRKZjJGQmJmUVQiLCJzdWIiOiI0NjE5N2FlNi0xMjMxLTQyNWUtYWYxZC0wYTA0NGQxYWEwM2YiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.KoVSQxdygnweKYp-PInhXEjnhGH4O0lY8u2ZDJaPCEo
Parameters :
- Schéma :
– id : integer
exemple : 1
Request Body :
/
Responses :
Type : application/json
- 202
Schéma :
/ - 400
Schéma :
– System error - 401
Schéma :
– Unauthorized
GET /TAGS
Security :
need Bearer Access-Token from login
- bearer : string
exemple : bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODA4MFwvYXBpXC9sb2dpbiIsImlhdCI6MTY0NTA4ODEzNSwiZXhwIjoxNjQ1MDkxNzM1LCJuYmYiOjE2NDUwODgxMzUsImp0aSI6IlhEQ1pHeHRKZjJGQmJmUVQiLCJzdWIiOiI0NjE5N2FlNi0xMjMxLTQyNWUtYWYxZC0wYTA0NGQxYWEwM2YiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.KoVSQxdygnweKYp-PInhXEjnhGH4O0lY8u2ZDJaPCEo
Parameters :
- Schéma :
– page : integer
exemple : 1
– limit : integer
exemple : 20
– keyword : string
exemple : test
Request Body :
/
Responses :
Type : application/json
- 200
Schéma :
– current_page : integer
exemple : 8
– from : integer
exemple : 2
– last_page : integer
exemple : 3
– per_page : integer
exemple : 2
– to : integer
exemple : 2
– total : integer
exemple : 2
– first_page_url : string
exemple : https://api.apifulldoc.com/api/v1/tags?page=1
– last_page_url : string
exemple : https://api.apifulldoc.com/api/v1/tags?page=8
– next_page_url : string
exemple : https://api.apifulldoc.com/api/v1/tags?page=2
– prev_page_url : string
exemple : https://api.apifulldoc.com/api/v1/tags?page=1
– path : string
exemple : https://api.apifulldoc.com/api/v1/tags - 400
Schéma :
– System error - 401
Schéma :
– Unauthorized
/tags
List the tags linked to your team.