Description: Create extension repositories by extension's guid
URL: http://{your-server-url}/api/v1/core/libraries/extensions/{ExtensionGuid}/repositories
Method: POST
Token Required: True
currentuserid: {switch to user id}
content-type: application/json or content-type: application/xml
token: {token}
Portal Administrator( modification on the global repository)
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryRequest
Parameter | Type | Nullable |
---|---|---|
Request.ExtensionRepositories | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Extensions.AccountRepository[] or Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Extensions.GlobalRepository[] | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library.LibraryResponse
Parameter | Type |
---|---|
Response.ExtensionRepositories | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Extensions.Repository[] |
<LibraryRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
{ }
<LibraryResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Library" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage> <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages"> <Error> <Code>String</Code> <Message>String</Message> <StackTrace>String</StackTrace> </Error> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status> </LibraryResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1 }