Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Rest API to get ActivitySpec

Request

...

Request body is a JSON object (Content-Type: application/json) includes the following fields.

Field Name
id

TBD

Sample

TBD

Response Body

versionId

Sample

Request Headers: 

Connection: keep-alive

Accept: application/json

Content-Type: application/json

USER_ID: cs0008

User-Agent: Jakarta Commons-HttpClient/3.1

Host: 10.147.97.237:8080

GET http://10.147.97.237:8080/activityspec-api/v1.0/activity-spec/6744fa59c539492aaee7ca49c12bbdcf/versions/4f2e8585c4d44fb2afa79f5afeb3c4bb

Response


TBD

Response headers: 

HTTP/1.1 200 OK

Content-Type: application/json

Date: Wed, 21 Feb 2018 08:40:43 GMT

Transfer-Encoding: chunked

Server: Jetty(9.3.6.v20151106)

{

:   "name":"ActivitySpecnameGqftvKSKZm1",

:   "description":"ActivitySpecdescriptionJMyvvpcKcDQXOpPJdiJO1",

:   "categoryList":

:   [

:   :   "testdataget",

:   :   "testdataget_1"

:   ],

:   "inputParameters":

:   [

:   :   {

:   :   :   "name":"host_testdataget",

:   :   :   "type":"string_testdataget"

:   :   }

:   ],

:   "outputParameters":

:   [

:   :   {

:   :   :   "name":"status_testdataget",

:   :   :   "type":"string_testdataget",

:   :   :   "value":"started_testdataget"

:   :   }

:   ],

:   "status":"Draft"

 }TBD

HTTP Response Codes

HTTP Response CodeDescription
200Success