Calling the endpoints to access repository features
URL
All endpoints accessing repository features or data must conform the following:
Prefix endpoint specific URL elements by the {REPOSITORYBASEURL}
Where

{REPOSITORYBASEURL} = {WEBSERVICEURL}/environments/{env_id}/repositories/{rep_id}/profiles/{prof_id}

{env_id}: environment identifier

{rep_id}: repository identifier

{prof_id}: profile identifier
Authentication
All requests executing in the context of a repository workspace must contain authentication information in the headers part of the http request.
The authorization header must respect one of the following format:
|
Authorization Type
|
Value
|
|
BASIC
|
Basic <user>:<password> with Header variable HopexEnvironment
|
|
UAS
|
Bearer <uasToken>
|
Authorization type: BASIC
If you want to use a login and password:

Set the
Authorization Header in the following format:
Basic <Login>:<Password>
Authorization type: UAS
Prerequisite: If you want to use a token with UAS integration, you must get it before calling it and pass it in your header as a Bearer token.
1. Call UAS to get a token.
2. Retrieve the token.
3. Call the service with Bearer as Authorization scheme.