post /extension/upload
Stability index
This API is extremely reliable and will not be broken unless absolutely necessary.
Request body
- tmpfile (required)
- binary
Query parameters
- pwd (optional)
- privileges (optional)
- replace (optional)
Return type
array[Extension]
Example data
Content-Type: application/json
[ {
"owner" : {
"privileges" : [ "privileges", "privileges" ],
"userDirectory" : "userDirectory",
"userDirectoryConnectorName" : "userDirectoryConnectorName",
"name" : "name",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"userId" : "userId"
},
"privileges" : [ "privileges", "privileges" ],
"createdDate" : "2000-01-23T04:56:07.000+00:00",
"customProperties" : [ {
"createdDate" : "2000-01-23T04:56:07.000+00:00",
"modifiedByUserName" : "modifiedByUserName",
"schemaPath" : "schemaPath",
"modifiedDate" : "2000-01-23T04:56:07.000+00:00",
"definition" : {
"privileges" : [ "privileges", "privileges" ],
"valueType" : "valueType",
"name" : "name",
"choiceValues" : [ "choiceValues", "choiceValues" ],
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
},
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"value" : "value"
}, {
"createdDate" : "2000-01-23T04:56:07.000+00:00",
"modifiedByUserName" : "modifiedByUserName",
"schemaPath" : "schemaPath",
"modifiedDate" : "2000-01-23T04:56:07.000+00:00",
"definition" : {
"privileges" : [ "privileges", "privileges" ],
"valueType" : "valueType",
"name" : "name",
"choiceValues" : [ "choiceValues", "choiceValues" ],
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
},
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"value" : "value"
} ],
"modifiedByUserName" : "modifiedByUserName",
"references" : [ {
"logicalPath" : "logicalPath",
"privileges" : [ "privileges", "privileges" ],
"externalPath" : "externalPath",
"serveOptions" : 0,
"dataLocation" : "dataLocation",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}, {
"logicalPath" : "logicalPath",
"privileges" : [ "privileges", "privileges" ],
"externalPath" : "externalPath",
"serveOptions" : 0,
"dataLocation" : "dataLocation",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
} ],
"schemaPath" : "schemaPath",
"modifiedDate" : "2000-01-23T04:56:07.000+00:00",
"name" : "name",
"whiteList" : {
"privileges" : [ "privileges", "privileges" ],
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"libraryType" : { }
},
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"tags" : [ {
"privileges" : [ "privileges", "privileges" ],
"name" : "name",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}, {
"privileges" : [ "privileges", "privileges" ],
"name" : "name",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
} ]
}, {
"owner" : {
"privileges" : [ "privileges", "privileges" ],
"userDirectory" : "userDirectory",
"userDirectoryConnectorName" : "userDirectoryConnectorName",
"name" : "name",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"userId" : "userId"
},
"privileges" : [ "privileges", "privileges" ],
"createdDate" : "2000-01-23T04:56:07.000+00:00",
"customProperties" : [ {
"createdDate" : "2000-01-23T04:56:07.000+00:00",
"modifiedByUserName" : "modifiedByUserName",
"schemaPath" : "schemaPath",
"modifiedDate" : "2000-01-23T04:56:07.000+00:00",
"definition" : {
"privileges" : [ "privileges", "privileges" ],
"valueType" : "valueType",
"name" : "name",
"choiceValues" : [ "choiceValues", "choiceValues" ],
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
},
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"value" : "value"
}, {
"createdDate" : "2000-01-23T04:56:07.000+00:00",
"modifiedByUserName" : "modifiedByUserName",
"schemaPath" : "schemaPath",
"modifiedDate" : "2000-01-23T04:56:07.000+00:00",
"definition" : {
"privileges" : [ "privileges", "privileges" ],
"valueType" : "valueType",
"name" : "name",
"choiceValues" : [ "choiceValues", "choiceValues" ],
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
},
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"value" : "value"
} ],
"modifiedByUserName" : "modifiedByUserName",
"references" : [ {
"logicalPath" : "logicalPath",
"privileges" : [ "privileges", "privileges" ],
"externalPath" : "externalPath",
"serveOptions" : 0,
"dataLocation" : "dataLocation",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}, {
"logicalPath" : "logicalPath",
"privileges" : [ "privileges", "privileges" ],
"externalPath" : "externalPath",
"serveOptions" : 0,
"dataLocation" : "dataLocation",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
} ],
"schemaPath" : "schemaPath",
"modifiedDate" : "2000-01-23T04:56:07.000+00:00",
"name" : "name",
"whiteList" : {
"privileges" : [ "privileges", "privileges" ],
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"libraryType" : { }
},
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"tags" : [ {
"privileges" : [ "privileges", "privileges" ],
"name" : "name",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}, {
"privileges" : [ "privileges", "privileges" ],
"name" : "name",
"id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
} ]
} ]
Responses
- 201
- Created