API Documentation
Teta is a full-stack platform for creating fully customizable apps without code, in just a few days and on any device.
N | HTTP Req | Endpoints | Action |
---|---|---|---|
1 | POST | /cms/insert/subscribe | Subscribing to a project |
2 | DELETE | /cms/insert/unsubscribe | Unsubscribing from a project |
3 | GET | /cms/insert/samples | Retrieving sample data |
4 | GET | /cms/samples | Retrieving sample data |
5 | GET | /cms/collections | Retrieving collections |
6 | GET | /me | Retrieving user information |
7 | GET | /trigger/:action/:prj_id/:coll_id/:doc_id | Triggering an action on a specific document |
- Request
- POST /cms/insert/subscribe
- Headers
- Content-Type: application/json
- x-z-api-key: [your key]
- Body (form-data) :
{"collection_name": "collection1","hookUrl": "https://HOOK_URL/hooks/catch/1234567/abcdefg/"}
- Request
- DELETE /cms/insert/unsubscribe
- Headers
- Content-Type: application/json
- x-z-api-key: [your key]
- Body (form-data) :
{id: "1234567890"}
- Request
- GET /cms/insert/samples
- Headers
- Content-Type: application/json
- x-z-api-key: [your key]
- Query Parameters
- collection_name: collection1
- Request
- GET /cms/collections
- Headers
- Content-Type: application/json
- x-z-api-key: [your key]
- Request
- GET /me
- Headers
- Content-Type: application/json
- x-z-api-key: [your key]
- Request
- GET /trigger/:action/:prj_id/:coll_id/:doc_id
- Headers
- Content-Type: application/json
- x-z-api-key: [your key]
* 200 OK if successful, with response body containing the object data if any
* 401 Unauthorized if missing or malformed API key
* Other error codes for other failures
Last modified 3mo ago