‎03-06-2021 03:39 PM - edited ‎03-06-2021 03:40 PM
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 |
|
|
3 weeks ago
So far so fine, but how I update for example the creator of an application? This way don't work. It tells creator is not field at application, but if I query applications, I see creator is null or has an object with id, name and other. So how does it work?
‎19-10-2021 02:08 AM
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.
‎19-07-2021 10:49 AM
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 :
‎14-06-2021 03:45 PM - edited ‎14-06-2021 03:47 PM
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