Export Source

post

/serviceapi/logan.content/export

Export source/parser/field info to zip file.

Request

Supported Media Types
Form Parameters
Back to Top

Response

Supported Media Types

200 Response

Operation succeeded.

400 Response

Bad request. See response body for explanation.
Body ()
Root Schema : InternalErrorResponse
Type: object
Show Source
Nested Schema : messages
Type: array
Show Source
Nested Schema : violations
Type: array
Show Source
Nested Schema : ParserViolation
Type: object
Show Source

403 Response

Forbidden. User does not have required privileges.

500 Response

Internal server error. See response body for explanation.
Body ()
Root Schema : InternalErrorResponse
Type: object
Show Source
Nested Schema : messages
Type: array
Show Source
Nested Schema : violations
Type: array
Show Source
Nested Schema : ParserViolation
Type: object
Show Source
Back to Top

Examples

The following example shows how to export multiple sources using their DNAME into a ZIP file called response.zip by submitting a POST request on the REST resource using cURL

curl -u "OMC_USERNAME" -X POST -H "Content-Type: application/x-www-form-urlencoded" "https://{OMC_URL}/serviceapi/logan.content/export" -d 'sourceDname=mgSrc' -d 'sourceDname=mgSrc2' -o response.zip

Example of Response

The following shows an example of the response body.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current   Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0    36      0     30 --:--:--  0:00:01 --:--:--     0< HTTP/1.1 200 OK
Back to Top