Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

POST /config/extension_management/extensions/ {extension_id}/metadata

 

Adds metadata to the Extension corresponding to the supplied extension_id.

Adds metadata to the Extension corresponding to the supplied extension_id.

Table 1: POST /config/extension_management/extensions/{extension_id}/metadata Resource Details

MIME Type

application/json

Table 2: POST /config/extension_management/extensions/{extension_id}/metadata Request Parameter Details

Parameter

Type

Optionality

Data Type

MIME Type

Description

extension_id

path

Required

Number (Integer)

text/plain

Required - The id of the extension.

fields

header

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: POST /config/extension_management/extensions/{extension_id}/metadata Request Body Details

Parameter

Data Type

MIME Type

Description

Sample

metadata

Object

application/json

Required - Metadata to be added to the extension.

{ "app_oauth_users": [ {"app_name": "TestApp1", "user_id": 5} ] }

Table 4: POST /config/extension_management/extensions/{extension_id}/metadata Response Codes

HTTP Response Code

Unique Code

Description

404

22603

The requested extension cannot be found.

422

22606

A supplied numeric parameter was not positive.

422

22607

The supplied metadata was not correct

500

22602

An error occurred while trying to add the metadata.

Response Description

the metadata that was added.

Response Sample