To use user-friendly tools, an API for interaction with the editing server was developed independently.
The editor is available only if the address selected in MetaMask as the main address for the site https://editor.canvaisland.art/ is the owner of any sector. After authorization, the editing console becomes available through the API and sector preview. Apart from the owner of the sector, no one sees the sector before publication.
The editor API is built on GraphQL. If you are not familiar with this concept, you can easily find information on the Internet ( https://graphql.org/ ) .
In the editing console, 2 types of server commands (API calls) are available for you: Query - to get data and Mutation - to change data. When writing commands, don't forget to use ctrl+spacebar - to bring up a list of hints
Press to execute commands
You can see a list of your sectors with the following query:
You can find a detailed description of requests and response formats in the API documentation (in the console, on the left, the button ).