Available Methods
Last updated
Last updated
This article describes available methods on Xopero ONE Management Service REST API. These methods are dedicated for Git-related features/operations in Xopero ONE.
Login method (POST) Login to the Management Service. The generated access token should be used for authorization during subsequent queries.
Address POST https://server_address/account/login
Method parameters
JSON example:
Response:
GetMany method (POST) Gets a list of organizations. Authorization required.
Address POST https://server_address/git/organizations/getmany
Method parameters
JSON example:
Response:
AttachGitRepository method (POST) Adds a repository to the plan if the given repository and plan exist. Authorization required.
Address POST https://server_address/plans/attachgitrepository
Method parameters
JSON example:
Response:
DetachGitRepository method (POST) Detaches the repository from the plan. Authorization required.
Address POST https://server_address/plans/detachgitrepository
Method parameters
JSON example:
Response:
ListAssignedToOrganization method (POST) Returns a list of plans to which the organization's repositories are pinned. Authorization required.
Address POST https://server_address/plans/listassignedtoorganization
Method parameters
JSON example:
Response:
ModifyGitPlan method (POST) Editing a GIT backup plan. Authorization required.
Address POST https://server_address/plans/modifygitplan
Method parameters
JSON example:
Response:
Activate method (POST) Activates licenses for selected repositories. Requires authorization with a user account with the following roles:
DataRemoveManagement
GitManagement
Address POST https://server_address/git/repositories/activate
Method parameters
JSON example:
Response:
Deactivate method (POST) Deactivates licenses for selected repositories. Requires authorization with a user account with the following roles:
DataRemoveManagement
GitManagement
Address POST https://server_address/git/repositories/deactivate
Method parameters
JSON example:
Response:
GetMany method (POST) Gets a list of the organization's repositories. Authorization required.
Address POST https://server_address/git/repositories/getmany
Method parameters
JSON example:
Response:
Remove method (POST) Deletes repository data from the system. Requires authorization with a user account with the following roles:
DataRemoveManagement GitManagement
Address POST https://server_address/git/repositories/remove
Method parameters
JSON example:
Response:
Sync Method (POST) Runs synchronization for your organization. Authorization required.
Address POST https://server_address/git/repositories/sync
Method parameters
JSON example:
Response:
limit
Number of repository per page
int
orderby
The field followed by the sort
string
ordertype
Sort order
string
page
Page number
int
filters
Data filters
Array[Filters]
planId
Plan ID
Guid
repositoryId
Repository ID
Guid
planId
Plan ID
Guid
repositoryId
Repository ID
Guid
limit
Numer of elements on the page
int
page
Page number
int
organizationId
The organization ID
Guid
Id
Plan ID
Guid
Name
Plan name
string
IsActive
Schedule in use or not
bool
Type
Plan type
EPlanType
BackupType
Backup type (if the plan type is backup)
EPlanType
StorageId
Storage ID
Guid
RepositoriesIds
GIT repository ID table
Array[Guid]
WorkerId
Identifier of the device performing the operation
Guid
Schedule
Backup schedule
BackupScheduleDTO
AdvancedOptions
Advanced options
Dictionary[string, string]
CompressionSettings
Compression settings
CompressionSettingsEntry
EncryptionSettings
Encryption settings
EncryptionSettingsEntry
CustomActions
User Defined Actions
BackupCustomActionsEntry
InculdeAllReposistories
If true, it ignores selected repositories and takes all of them from the organization
bool
OrganizationId
Organization ID
Guid
IncludeMetadata
If true, it performs a metadata backup
bool
ids
Repository IDs to activate
Array[Guid]
ids
Repository IDs to be deactivated
Array[Guid]
id
Organization ID
Guid
limit
Number of repositories per page
int
orderby
The name of the field followed by sorting
string
ordertype
Sort order
string
page
Page number
int
filters
Data filters
Array[Filter]
id
The repository IDs to be deleted
Guid
removedata
If true, it also deletes the backup data of the indicated repositories
bool
id
Organization ID
Guid
Email address
string
Password
Password
string
RememberMe
Specifies whether to remember the session
bool