fixed API

This commit is contained in:
boxi committed 2026-05-15 20:45:58 +02:00
1 parent af0d8b77a5
commit 6dba8aaa2e
6 files changed
+45 -20

No files matched your search

+17 -10
View File
@@ -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
{
@@ -1,6 +1,7 @@
{
"local": {
"apiKey": "<API-Key>",
"apiVersion": "2025-11-08",
"spaceId": "<Space-Id>",
"taskTypeId": "<taskTypeId>",
"priorityPropertyId": "<priorityPropertyId>"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.