All URIs are relative to https://teamcity.jetbrains.com
Method | HTTP request | Description |
---|---|---|
AddLicenseKeys | Post /app/rest/server/licensingData/licenseKeys | Add license keys. |
DeleteLicenseKey | Delete /app/rest/server/licensingData/licenseKeys/{licenseKey} | Delete a license key. |
DownloadFileOfServer | Get /app/rest/server/files/{areaId}/files{path} | Download specific file. |
GetAllMetrics | Get /app/rest/server/metrics | Get metrics. |
GetAllPlugins | Get /app/rest/server/plugins | Get all plugins. |
GetBackupStatus | Get /app/rest/server/backup | Get the latest backup status. |
GetFileMetadataOfServer | Get /app/rest/server/files/{areaId}/metadata{path} | Get metadata of specific file. |
GetFilesListForSubpathOfServer | Get /app/rest/server/files/{areaId}/{path} | List files under this path. |
GetFilesListOfServer | Get /app/rest/server/files/{areaId} | List all files. |
GetLicenseKey | Get /app/rest/server/licensingData/licenseKeys/{licenseKey} | Get a license key. |
GetLicenseKeys | Get /app/rest/server/licensingData/licenseKeys | Get all license keys. |
GetLicensingData | Get /app/rest/server/licensingData | Get the licensing data. |
GetServerField | Get /app/rest/server/{field} | Get a field of the server info. |
GetServerInfo | Get /app/rest/server | Get the server info. |
GetZippedFileOfServer | Get /app/rest/server/files/{areaId}/archived{path} | Get specific file zipped. |
StartBackup | Post /app/rest/server/backup | Start a new backup. |
LicenseKeys AddLicenseKeys(ctx, optional) Add license keys.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *AddLicenseKeysOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AddLicenseKeysOpts struct
Name | Type | Description | Notes |
---|---|---|---|
body | optional.String | ||
fields | optional.String |
No authorization required
- Content-Type: text/plain
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteLicenseKey(ctx, licenseKey) Delete a license key.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
licenseKey | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DownloadFileOfServer(ctx, path, areaId) Download specific file.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
path | string | ||
areaId | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Metrics GetAllMetrics(ctx, optional) Get metrics.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetAllMetricsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetAllMetricsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Plugins GetAllPlugins(ctx, optional) Get all plugins.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetAllPluginsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetAllPluginsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetBackupStatus(ctx, ) Get the latest backup status.
This endpoint does not need any parameter.
string
No authorization required
- Content-Type: Not defined
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File GetFileMetadataOfServer(ctx, path, areaId, optional) Get metadata of specific file.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
path | string | ||
areaId | string | ||
optional | *GetFileMetadataOfServerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetFileMetadataOfServerOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Files GetFilesListForSubpathOfServer(ctx, path, areaId, optional) List files under this path.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
path | string | ||
areaId | string | ||
optional | *GetFilesListForSubpathOfServerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetFilesListForSubpathOfServerOpts struct
Name | Type | Description | Notes |
---|
basePath | optional.String| | locator | optional.String| | fields | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Files GetFilesListOfServer(ctx, areaId, optional) List all files.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
areaId | string | ||
optional | *GetFilesListOfServerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetFilesListOfServerOpts struct
Name | Type | Description | Notes |
---|
basePath | optional.String| | locator | optional.String| | fields | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LicenseKey GetLicenseKey(ctx, licenseKey, optional) Get a license key.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
licenseKey | string | ||
optional | *GetLicenseKeyOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetLicenseKeyOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LicenseKeys GetLicenseKeys(ctx, optional) Get all license keys.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetLicenseKeysOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetLicenseKeysOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LicensingData GetLicensingData(ctx, optional) Get the licensing data.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetLicensingDataOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetLicensingDataOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetServerField(ctx, field) Get a field of the server info.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
field | string |
string
No authorization required
- Content-Type: Not defined
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Server GetServerInfo(ctx, optional) Get the server info.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetServerInfoOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetServerInfoOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetZippedFileOfServer(ctx, path, areaId, optional) Get specific file zipped.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
path | string | ||
areaId | string | ||
optional | *GetZippedFileOfServerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetZippedFileOfServerOpts struct
Name | Type | Description | Notes |
---|
basePath | optional.String| | locator | optional.String| | name | optional.String| |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string StartBackup(ctx, optional) Start a new backup.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *StartBackupOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a StartBackupOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fileName | optional.String | ||
addTimestamp | optional.Bool | ||
includeConfigs | optional.Bool | ||
includeDatabase | optional.Bool | ||
includeBuildLogs | optional.Bool | ||
includePersonalChanges | optional.Bool | ||
includeRunningBuilds | optional.Bool | ||
includeSupplimentaryData | optional.Bool |
string
No authorization required
- Content-Type: Not defined
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]