Get All Targets

Get all Crafter Deployer targets.

Resource Information

This service uses the deployer application on port 9191 by default. To see a list of default ports click here

The context for this API is /.

HTTP Verb
GET
URL
/api/1/target/get-all.json
Response Formats
JSON

Example

Request

GET .../api/1/target/get-all.json

Response

Status 200 OK

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[
  {
    "env": "dev",
    "siteName": "mysite",
        "id" : "mysite-dev",
        "load_date" : "2017-01-26T10:00:1.234-05:00"
  },
  {
    "env": "dev",
    "siteName": "mysite",
        "id" : "yoursite-dev",
        "load_date" : "2017-01-01T11:00:5.678-05:00"
  }
]

Responses

Status
Location
Response Body
200
.../target/get-all.json
See example above.
500



{ "message" : "Internal server error:" }
ACTUAL_EXCEPTION" }