You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

65 lines
1.8 KiB

---
get:
description: Get all trackers that target user can see along with their configuration details.
responses:
'200':
description: tracker response
content:
application/json:
schema:
type: object
properties:
list:
type: object
description: List of tracker IDs and names
example: |
{"9": "Tracker 9", "15": "Tracker 15"}
data:
type: array
items:
type: object
properties:
trackerId:
type: integer
name:
type: string
description:
type: string
descriptionIsParsed:
$ref: schemas-TikiBoolean.yaml
created:
type: integer
lastModif:
type: integer
items:
type: integer
description: Tracker items count
cant:
type: integer
description: Trackers count
post:
description: Create a new tracker.
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: schemas-Tracker.yaml
responses:
'200':
description: tracker response
content:
application/json:
schema:
type: object
properties:
trackerId:
type: integer
info:
type: object
'403':
description: forbidden
content:
application/json:
schema:
$ref: schemas-Error.yaml