logo
logo

Mass Edit Target Resource

Each Mass Edit Target in the system is represented by a Mass Edit Target Resource. This resource can be used to retrieve the state of the target.

The following methods are supported: GET, HEAD

GET /api/massedits/{jobid}/targets/{targetid}

Returns a Mass Edit Target Object that contains the state of the target.

Example Request:

GET http://<hostname>/api/massedits/500/targets/1932
Host: hostname
Accept: application/json

Example Response:

HTTP/1.1 200 OK
Content-Length: content length
Content-Type: application/json; charset=utf-8
ETag: "hash string"

{
    "entity":{
        "href":"http://<hostname>/api/entities/140"
    }
    "state_description":"Pending",
    "state":"Pending",
    "condition":"Pending",
    "started_on":null,
    "completed_on":null,
    "self":{
        "href":"http://<hostname>/api/massedits/500/targets/1932",
        "title":"This mass edit target."
    },
    "job":{
        "href":"http://<hostname>/api/massedits/500",
        "title":"The Mass Edit Job that contains this target."
    }
}

Can we improve this article ? Provide feedback