The following table summarizes the HTTP methods supported for use with JSON format and ZIP format.

Format

Operation

Method

Examples

JSON

Export

GET

GET /gsadmin/v1/cloud/thesaurus.json or

GET /gsadmin/v1/cloud/thesaurus

Create

POST

POST /gsadmin/v1/cloud/thesaurus

Overwrite

PUT

PUT /gsadmin/v1/cloud/thesaurus

PUT /gsadmin/v1/cloud/thesaurus/thesaurus-entries-name

PUT overwrites an existing object.

Note: To overwrite an object with PUT, you must use a URL that specifies the object. PUT cannot access child objects of the object specified in the URL.

For example, to overwrite a thesaurus-entries object, you must specify the URL:

/gsadmin/v1/cloud/thesaurus/thesaurus-entries-name.

Modify

PATCH

PATCH /gsadmin/v1/cloud/thesaurus

PATCH modifies an existing object by modifying the values of existing attributes in the object or adding new attributes to the object.

Note: To modify an object with PATCH, you must use a URL that specifies the object. PATCH cannot access child objects of the object specified in the URL.

For example, to modify a thesaurus-entries object, you must specify the URL:

/gsadmin/v1/cloud/thesaurus/thesaurus-entries-name.

ZIP

Export

GET

GET /gsadmin/v1/cloud/thesaurus.zip

Create

POST

POST /gsadmin/v1/cloud/thesaurus

Overwrite

POST

POST /gsadmin/v1/cloud/thesaurus

n/a

Delete

DELETE

For information, see Delete resources.

Note the following differences between the HTTP methods that are supported for ZIP format and for JSON format:


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices