init Template use
This commit is contained in:
1 parent
27797679ac
commit
2434383953
8 files changed
+96
-3
No files matched your search
@@ -27,13 +27,19 @@ GET http://localhost:31009/v1/spaces/{{spaceId}}/properties/{{priorityPropertyId
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
|
||||
### Get Templates
|
||||
GET http://localhost:31009/v1/spaces/{{spaceId}}/types/{{taskTypeId}}/templates
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Anytype-Version: 0.1
|
||||
|
||||
### Create Task
|
||||
POST http://localhost:31009/v1/spaces/{{spaceId}}/objects
|
||||
Authorization: Bearer {{apiKey}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"name": "Test Task II",
|
||||
"body": "Created via HTTP client",
|
||||
"name": "With Template - II",
|
||||
"body": "And here comes the body",
|
||||
"template_id": "bafyreidivup2xrqn4xbgimukkgst3ao24izqnpxdesbkdtnc5owvhf6i6i",
|
||||
"type_key": "ot-task"
|
||||
}
|
||||