Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We can also pass a JSON object, with a single id property (whose value will be that of the identifier to be assigned), or possibly, an additional mode $mode property (normally used only for multiple link type properties, see the hybrid aspect of values above).

...

Code Block
languagejson
{
    "coverage": { "id": [42] }
}
Note

It is only possible to modify a workflow(status) property if it has been configured to be modified directly by its identifier. This is only to support the old workflow mode: normally, you have to use the specific service that uses a transition action system to modify the workflow of an object. See Workflows (change status, or get possible workflow actions) for more details.

Booleans (type link to activated)

...

Code Block
languagejson
{
  "description": "Aerial view of Canareef Resort Maldives, Herathera Island, Addu Atoll"
}
Info

Modify a resource property: String functions

HTML

HTML properties are managed as string properties.

...

JSON properties are managed as strings. But it is possible to configure them so that we can directly pass JSON (an object or an array only). See details here.