62 lines
1.7 KiB
HTTP
62 lines
1.7 KiB
HTTP
### Get Spaces
|
|
GET http://localhost:31009/v1/spaces
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Get Types
|
|
GET http://localhost:31009/v1/spaces/{{spaceId}}/types
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Get Type
|
|
GET http://localhost:31009/v1/spaces/{{spaceId}}/types/{{taskTypeId}}
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Get objects of type
|
|
POST http://localhost:31009/v1/spaces/{{spaceId}}/search?type=project
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"types": ["project"]
|
|
}
|
|
|
|
### Get Property
|
|
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{priorityPropertyId}}/tags
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Get Property Values Priority
|
|
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{priorityPropertyId}}/tags
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Get Property Values Project
|
|
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{projectPropertyId}}/tags
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Get Property Tags
|
|
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{priorityPropertyId}}/tags
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Get Templates
|
|
GET http://localhost:31009/v1/spaces/{{spaceId}}/types/{{taskTypeId}}/templates
|
|
Authorization: Bearer {{apiKey}}
|
|
Anytype-Version: 2025-11-08
|
|
|
|
### Create Task
|
|
POST http://localhost:31009/v1/spaces/{{spaceId}}/objects
|
|
Authorization: Bearer {{apiKey}}
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "With Template - II",
|
|
"body": "And here comes the body",
|
|
"template_id": "bafyreidivup2xrqn4xbgimukkgst3ao24izqnpxdesbkdtnc5owvhf6i6i",
|
|
"type_key": "ot-task"
|
|
}
|