The REST API based on GraphQL allows to perform all actions of the CRUD :
This mechanism allows to perform a various kind of action into the repository. Read action are performed with the keyword "query" in GraphQL whereas Read/Update/Delete are performed with the "mutation" keyword.
All the example below are performed with the ITPM schema.
Query | Result |
|
|
Query | Result |
|
|
Query | Result |
|
|
Query | Result |
|
|
Query | Result |
|
|
Query | Result |
|
|
Hello
Thank you for the article.
Is it possible when updating or creating an object with a relationship. To search for example an object with the list not trough an id? for example:
list:[{name:"qwertz"}]
Instead of:
list:[{id:"39cXIxu2HHrI"}]
This would be useful for an interface, because it's not always possible for an external to know the ID of the object in MEGA.
Kind regards
Hendrik
Hello Hendrik,
As the name are not always unique we cannot use them as a mean to connect 2 objects. That's why we use ID.
You have 3 ways to connect :
I need to change a field but in Spanish and with graphql it only changes it in English.
I saw a parameter in the x-hopex-language-data-id header, but I don't get it to work.
WARNING We have changed our authentication method to support single sign-on (SSO).
To learn how SSO will affect your access to the MEGA Community, please read the FAQ here