RevisionedResource

A base class for types that track revisions


Properties

array of ResourceLink
_links Optional

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


integer
_revision Optional

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.


string
_schema Optional

Schema for this resource


_self Optional

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?