RevisionedResource

A base class for types that track revisions


Properties

Required Property Name Type Description
optional _links array of ResourceLink

The server will populate this field when returing the resource. Ignored on PUT and POST.

optional _revision integer

The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.

optional _schema string

Schema for this resource

optional _self SelfResourceLink

Link to this resource

Extends


Resource

Extended By


ManagedResource

JSON Example

{
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_revision": 0,
    "_schema": "string",
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    }
}
Feedback

Was this page helpful?