• Document Up to Date

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
Response Formats
JSON

Example

Request

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

Response

Status 200 OK

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

Responses

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



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