Versions Compared

Key

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

...

Response could be both 200 and 201 depending if the command was used to create a new type or to modify an existing one.

Response:

  • 200 Type updated
    201 Type created


  • Delete EiType
Code Block
languagebash
themeMidnight
curl -X 'DELETE' \
  'http://localhost:30091/data-producer/v1/info-types/type2' \
  -H 'accept: application/json'

Response:

  • 204 Type deleted
  • 404 Type not found

Producers

  • Create EiProducer

...

Response could be both 200 and 201 depending if the command was used to create a new producer or to modify an existing one.

Response:

  • 200 Producer updated
  • 201 Producer created


  • Delete Producer
Code Block
languagebash
themeMidnight
curl -X 'DELETE' \
'http://localhost:30091/data-producer/v1/info-producers/2' \
-H 'accept: application/json'

Response:

  • 204 Producer deleted
  • 404 Producer not found

Jobs

  • Create EiJob
Code Block
languagebash
themeMidnight
curl -X 'PUT' \
  'http://localhost:30091/data-consumer/v1/info-jobs/2?typeCheck=false' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "info_type_id": "type2",
  "job_result_uri": "https://ricsim_g3_1:8185/datadelivery",
  "job_owner": "ricsim_g3_1",
  "job_definition": {},
  "status_notification_uri": "http://producer:80/"
}'

Response could be both 200 and 201 depending if the command was used to create a new job or to modify an existing one.

Response:

  • 200 Job updated
  • 201 Job created


  • Delete Job
Code Block
languagebash
themeMidnight
curl -X 'DELETE' \
  'http://localhost:30091/data-consumer/v1/info-jobs/1' \
  -H 'accept: application/json'

Response:

  • 204 Job deleted
  • 404 Job not found