• 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      "load_date": "2023-03-30T13:24:36.042181-04:00",
 4      "env": "preview",
 5      "site_name": "hi",
 6      "status": "INIT_COMPLETED",
 7      "id": "hi-preview"
 8  },
 9  {
10      "load_date": "2023-03-31T09:48:48.214383-04:00",
11      "env": "preview",
12      "site_name": "third",
13      "status": "INIT_COMPLETED",
14      "id": "third-preview"
15  }
16]

Responses

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



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