Attribute | Description | type | req | Constraints |
---|---|---|---|---|
createdAt | server generated | Date | ||
updatedAt | server generated | Date |
-
Parameters
- id (required, string,
545e9b16de59f0f007af07cc
) ... Resource id
- id (required, string,
-
Model (application/ec.api+json)
-
Headers
-
Body
{ "resource": { createdAt: "2014-11-08T18:34:22.903Z", updatedAt: "2014-11-08T18:34:22.903Z" } }
-
-
Response 200
[Resource][]
-
Request (application/json)
{ "resource": { } }
-
Response 200
[Resource][]
-
Request (application/json)
-
Response 204
-
Model (application/ec.api+json)
-
Headers
-
Body
{ "resources": [ { id: "545e9b16de59f0f007af07cc", createdAt: "2014-11-08T18:34:22.903Z", updatedAt: "2014-11-08T18:34:22.903Z" }, { id: "545eaaf95f8bfe885fc18722", createdAt: "2014-11-08T22:39:48.339Z", updatedAt: "2014-11-08T22:39:48.339Z" } ] }
-
-
Request (application/json)
{ "resource": { } }
-
Response 201
{ "resource": { id: "545eaaf95f8bfe885fc18722", createdAt: "2014-11-08T22:39:48.339Z", updatedAt: "2014-11-08T22:39:48.339Z" } }
-
Request (application/json)
-
Response 200 [Resource Collection][]