fixed API
This commit is contained in:
1 parent
af0d8b77a5
commit
6dba8aaa2e
6 files changed
+45
-20
No files matched your search
+17
-10
@@ -1,21 +1,22 @@
|
||||
### Get Spaces
|
||||
GET http://localhost:31009/v1/spaces
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: {{apiVersion}}
|
||||
|
||||
### Get Types
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/types
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
Anytype-Version: {{apiVersion}}
|
||||
|
||||
### Get Type
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/types/{{taskTypeId}}
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
Anytype-Version: {{apiVersion}}
|
||||
|
||||
### Get objects of type
|
||||
POST http://localhost:31009/v1/spaces/{{spaceId}}/search?type=project
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
Anytype-Version: {{apiVersion}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -23,23 +24,29 @@ Content-Type: application/json
|
||||
}
|
||||
|
||||
### Get Property
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{priorityPropertyId}}
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
|
||||
### Get Property Tags
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{priorityPropertyId}}/tags
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
Anytype-Version: {{apiVersion}}
|
||||
|
||||
### Get Property Values Priority
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{priorityPropertyId}}/tags
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: {{apiVersion}}
|
||||
|
||||
### Get Property Values Project
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{projectPropertyId}}/tags
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: {{apiVersion}}
|
||||
|
||||
### Get Templates
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/types/{{taskTypeId}}/templates
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
Anytype-Version: {{apiVersion}}
|
||||
|
||||
### Create Task
|
||||
POST http://localhost:31009/v1/spaces/{{spaceId}}/objects
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: {{apiVersion}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
|
||||