Skip to content

REST Applications Entities

andreisavu edited this page May 1, 2012 · 2 revisions

List Application Entities

Request

GET /v1/applications/{application}/entities

Response

HTTP/1.1 200 OK
Content-Type: application/json

[
  {
    "type": "brooklyn.entity.nosql.redis.RedisStore",
    "links": {
      "self": "/v1/applications/redis/entities/IODz2uR3",
      "catalog": "/v1/catalog/entities/brooklyn.entity.nosql.redis.RedisStore",
      "application": "/v1/applications/redis",
      "children": "/v1/applications/redis/entities/IODz2uR3/entities",
      "effectors": "/v1/applications/redis/entities/IODz2uR3/effectors",
      "sensors": "/v1/applications/redis/entities/IODz2uR3/sensors"
    }
  }
]

List Children Entities

Request

GET /v1/applications/{application}/entities/{entity-id-or-name}/entities

Response

HTTP/1.1 200 OK
Content-Type: application/json

[]