Have you read a contributing guide?
Current Behavior
- when I call the API endpoint "/v1/spaces", the response seems to differ slightly from the official API specification, which leads to subsequent errors when I try to deserialise the JSON response.
- The difference is related to the field "object", which contains the string "anytype.space".
- This is observed since AnyType Version 0.55.0 and 0.55.1. With earlier Versions I did not observe this behaviour.
Expected Behavior
According to the official Anytype API Specification, the value of the field "object" should be "space" or "chat", not "anytype.space".
Steps To Reproduce
-
Call the API endpoint "/v1/spaces" and
curl -L 'http://127.0.0.1:31009/v1/spaces' -H 'Accept: application/json' -H 'Authorization: Bearer <token>' | json_pp
-
Examine the examine the JSON response regarding field "object":
"data" : [
{
"description" : "",
"gateway_url" : "http://127.0.0.1:47800",
"icon" : null,
"id" : "bafyreifmallpiczbjzqf72fjmhrs2jdfrcfzuwfristjhtytppmwpzzszm.knr2uqh9ss2w",
"name" : "Test Space",
"network_id" : "N4BcFX3BGt2ajXspTZ1HwinRzSuQvjWXELMvY1RC8eWEJ13W",
"object" : "anytype.space"
},
<...output shortended...>
],
"pagination" : {
"has_more" : false,
"limit" : 100,
"offset" : 0,
"total" : 3
}
Environment
OS-Version: linux x64 6.8.0-110-generic
App-Version: 0.55.1
Versionsnummer: build on 2026-04-29 14:10:53 +0000 UTC at #01df9ca47ab69cf2d4764332cafd8b6a3b382e42
Bibliotheksversion: v0.50.3
Anything else?
No response
Have you read a contributing guide?
Current Behavior
Expected Behavior
According to the official Anytype API Specification, the value of the field "object" should be "space" or "chat", not "anytype.space".
Steps To Reproduce
Call the API endpoint "/v1/spaces" and
curl -L 'http://127.0.0.1:31009/v1/spaces' -H 'Accept: application/json' -H 'Authorization: Bearer <token>' | json_ppExamine the examine the JSON response regarding field "object":
"data" : [
{
"description" : "",
"gateway_url" : "http://127.0.0.1:47800",
"icon" : null,
"id" : "bafyreifmallpiczbjzqf72fjmhrs2jdfrcfzuwfristjhtytppmwpzzszm.knr2uqh9ss2w",
"name" : "Test Space",
"network_id" : "N4BcFX3BGt2ajXspTZ1HwinRzSuQvjWXELMvY1RC8eWEJ13W",
"object" : "anytype.space"
},
<...output shortended...>
],
"pagination" : {
"has_more" : false,
"limit" : 100,
"offset" : 0,
"total" : 3
}
Environment
Anything else?
No response