Package Registry
A description of the package registry functionality is available here.
Description of JSON Object Structures
Package
| Field | Type | Description |
|---|---|---|
id |
String | Unique package ID |
name |
String | Package name |
version |
String | Package version |
groupId |
String | Group identifier |
artifactId |
String | Artifact identifier |
type |
String | Package type. Possible values: generic, maven, npm, pypi, nuget, composer, container, opm |
ownerUuid |
String | Unique owner ID |
ownerType |
String | Owner type. Possible values: PROJECT, COMPANY, GLOBAL |
Package Version
| Field | Type | Description |
|---|---|---|
id |
String | Unique package version ID |
baseVersion |
String | Base package version |
version |
String | Package version |
lowerVersion |
String | Package version in lower case |
downloadCount |
Integer | Number of package version downloads |
languageVersion |
String | Programming language version |
packageUploadType |
String | Package upload method. Possible values: TRANSPORT, MANUALLY, API |
packageFiles |
Object | Object containing information about the attached file. Contents can be viewed here |
internal |
Deprecated | Deprecated parameter. Returns null by default |
Package File
| Field | Type | Description |
|---|---|---|
id |
String | Unique attached file ID |
name |
String | File name |
size |
Integer | File size in bytes |
hashMd5 |
String | Hash in Md5 format |
hashSHA1 |
String | Hash in Sha1 format |
hashSHA256 |
String | Hash in Sha256 format |
packageUploadType |
String | File upload method. Possible values: TRANSPORT, MANUALLY, API |
createdAt |
ZonedDateTime | File creation date and time |
General Package Registry Methods
Get All Packages
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package
Company: GET /registry/company/{companyAlias}/package
Entire Service: GET /registry/package
The request returns a list of packages for the specified entity, with the ability to configure the number of displayed objects per page
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
Responses
STATUS 200 example JSON:
Response example
{
"_embedded": {
"simplePackageInfoModelList": [
{
"id": "23920af6-aaaa-aaaa-aaaa-396811188f65",
"name": "Package",
"version": "1.0.0",
"groupId": "group",
"artifactId": "artefact",
"type": "generic",
"ownerUuid": "fc7f17df-aaaa-aaaa-aaaa-111042a265b8",
"ownerType": "PROJECT"
},
{
"id": "deb52e29-aaaa-aaaa-aaaa-737eac0eb8f7",
"name": "Example",
"version": "1.0.3",
"groupId": "example",
"artifactId": "example",
"type": "nuget",
"ownerUuid": "fc7f17df-aaaa-aaaa-aaaa-189042a111b8",
"ownerType": "PROJECT"
}
]
},
"page": {
"size": 10,
"totalElements": 2,
"totalPages": 1,
"number": 0
}
}
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Get Package by UUID
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/{packageUuid}
Company: GET /registry/company/{companyAlias}/package/{packageUuid}
Entire Service: GET /registry/package/{packageUuid}
The request returns information about a package of the specified entity
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
Responses
STATUS 200 example JSON:
Response example
{
"id": "7eeda8b0-aaaa-aaaa-aaaa-bd1fed06bf95",
"name": "Package",
"version": "1.0.1",
"groupId": "Package",
"artifactId": "Package",
"type": "generic",
"ownerUuid": "fc7f17df-aaaa-aaaa-aaaa-189042a111b8",
"ownerType": "PROJECT"
}
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Get Package Version List
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/{packageUuid}/version-list
Company: GET /registry/company/{companyAlias}/package/{packageUuid}/version-list
Entire Service: GET /registry/package/{packageUuid}/version-list
The request returns information about the versions of a package and their contents, with the ability to configure the number of displayed objects per page
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
Responses
STATUS 200 example JSON:
Response example
{
"_embedded": {
"simplePackageVersionModelList": [
{
"id": "fb97db0e-aaaa-aaaa-aaaa-9a95f4f36e9a",
"baseVersion": "1.2.3",
"version": "1.2.3",
"lowerVersion": "1.2.3",
"downloadCount": 12,
"languageVersion": null,
"packageUploadType": "MANUALLY",
"packageFiles": [
{
"id": "6dd3bea5-aaaa-aaaa-aaaa-c49a0025279c",
"name": "gitflic-helper",
"size": 631382,
"hashMd5": "518e87b56adeaaaaaaaa9b6575399e1e",
"hashSHA1": "d06a0844f92daaaaaaaaaaaaaaaa275c448ce0e1",
"hashSHA256": "ad98cee24564aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac56a27d22ac1",
"packageUploadType": "MANUALLY",
"createdAt": "2024-08-01T06:57:07.150295"
}
],
"internal": null
},
{
"id": "800cad33-aaaa-aaaa-aaaa-8ba5864b4914",
"baseVersion": "2.4.7",
"version": "2.4.7",
"lowerVersion": "2.4.7",
"downloadCount": 31,
"languageVersion": null,
"packageUploadType": "API",
"packageFiles": [
{
"id": "684068a6-aaaa-aaaa-aaaa-bebea0e2b46a",
"name": "gitflic.ssh",
"size": 4325,
"hashMd5": "d41d8cd98f00aaaaaaaa0998ecf8427e",
"hashSHA1": "da39a3ee5e6baaaaaaaaaaaaaaaa1890afd80709",
"hashSHA256": "e3b0c44298fcaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa991b7852b855",
"packageUploadType": "API",
"createdAt": "2024-07-31T14:02:49.393146"
}
],
"internal": null
}
]
},
"page": {
"size": 10,
"totalElements": 2,
"totalPages": 1,
"number": 0
}
}
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Get Project Package Version
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/{packageUuid}/{packageVersion}
Company: GET /registry/company/{companyAlias}/package/{packageUuid}/{packageVersion}
Entire Service: GET /registry/package/{packageUuid}/{packageVersion}
The request returns information about a package version and its contents
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
packageVersion |
String | Package version |
Responses
STATUS 200 example JSON:
Response example
{
"id": "fb97db0e-aaaa-aaaa-aaaa-9a95f4f36e9a",
"baseVersion": "1.2.3",
"version": "1.2.3",
"lowerVersion": "1.2.3",
"downloadCount": 12,
"languageVersion": null,
"packageUploadType": "MANUALLY",
"packageFiles": [
{
"id": "6dd3bea5-aaaa-aaaa-aaaa-c49a0025279c",
"name": "gitflic-helper",
"size": 631382,
"hashMd5": "518e87b56adeaaaaaaaa9b6575399e1e",
"hashSHA1": "d06a0844f92daaaaaaaaaaaaaaaa275c448ce0e1",
"hashSHA256": "ad98cee24564aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac56a27d22ac1",
"packageUploadType": "MANUALLY",
"createdAt": "2024-08-01T06:57:07.150295"
}
],
"internal": null
}
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Get Project Package Content Information
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/{packageUuid}/package-file
Company: GET /registry/company/{companyAlias}/package/{packageUuid}/package-file
Entire Service: GET /registry/package/{packageUuid}/package-file
The request returns information about the contents of different package versions, with the ability to configure the number of displayed objects per page
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
Responses
STATUS 200 example JSON:
Response example
{
"_embedded": {
"simplePackageFileModelList": [
{
"id": "6dd3bea5-aaaa-aaaa-aaaa-c49a0025279c",
"name": "gitflic-helper",
"size": 631382,
"hashMd5": "518e87b56adeaaaaaaaa9b6575399e1e",
"hashSHA1": "d06a0844f92daaaaaaaaaaaaaaaa275c448ce0e1",
"hashSHA256": "ad98cee24564aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac56a27d22ac1",
"packageUploadType": "MANUALLY",
"createdAt": "2024-08-01T06:57:07.150295"
},
{
"id": "684068a6-aaaa-aaaa-aaaa-bebea0e2b46a",
"name": "gitflic.ssh",
"size": 4325,
"hashMd5": "d41d8cd98f00aaaaaaaa0998ecf8427e",
"hashSHA1": "da39a3ee5e6baaaaaaaaaaaaaaaa1890afd80709",
"hashSHA256": "e3b0c44298fcaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa991b7852b855",
"packageUploadType": "API",
"createdAt": "2024-07-31T14:02:49.393146"
}
]
},
"page": {
"size": 10,
"totalElements": 2,
"totalPages": 1,
"number": 0
}
}
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Delete Project Package
Project: POST /registry/project/{ownerAlias}/{projectAlias}/package/{packageUuid}/delete
Company: POST /registry/company/{companyAlias}/package/{packageUuid}/delete
Entire Service: POST /registry/package/{packageUuid}/delete
The method deletes a project package
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
Responses
STATUS 200 - Package deleted.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Delete Project Package Version
Project: POST /registry/project/{ownerAlias}/{projectAlias}/package/{packageUuid}/{packageVersion}/delete
Company: POST /registry/company/{companyAlias}/package/{packageUuid}/{packageVersion}/delete
Entire Service: POST /registry/package/{packageUuid}/{packageVersion}/delete
The method deletes a package version of the project
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
packageVersion |
String | Package version |
Responses
STATUS 200 - Version deleted.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Delete Project Package Version Content
Project: POST /registry/project/{ownerAlias}/{projectAlias}/package/{packageUuid}/{packageVersion}/{fileUuid}/delete
Company: POST /registry/company/{companyAlias}/package/{packageUuid}/{packageVersion}/{fileUuid}/delete
Entire Service: POST /registry/package/{packageUuid}/{packageVersion}/{fileUuid}/delete
The method deletes the content of a package version of the project
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
packageVersion |
String | Package version |
fileUuid |
String | File identifier |
Responses
STATUS 200 - File deleted.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Specific Package Registry Methods
Publish Generic Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/generic/{packageName}/{packageVersion}/{fileName}
Company: PUT /registry/company/{companyAlias}/package/generic/{packageName}/{packageVersion}/{fileName}
Entire Service: PUT /registry/package/generic/{packageName}/{packageVersion}/{fileName}
The request uploads an attached file to the specified version of a Generic package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download Generic Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/generic/{packageName}/{packageVersion}/{fileName}
Company: GET /registry/company/{companyAlias}/package/generic/{packageName}/{packageVersion}/{fileName}
Entire Service: GET /registry/package/generic/{packageName}/{packageVersion}/{fileName}
The request returns a Generic package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish Maven Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/maven/{groupId}/{artifactId}/{version}/{fileName}
Company: PUT /registry/company/{companyAlias}/package/maven/{groupId}/{artifactId}/{version}/{fileName}
Entire Service: PUT /registry/package/maven/{groupId}/{artifactId}/{version}/{fileName}
The request uploads an attached file to the specified version of a Maven package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
groupId |
String | Group identifier |
artifactId |
String | Artifact identifier |
version |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download Maven Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/maven/{packageUuid}/{packageVersion}/{fileUuid}/download
Company: GET /registry/company/{companyAlias}/package/maven/{packageUuid}/{packageVersion}/{fileUuid}/download
Entire Service: GET /registry/package/maven/{packageUuid}/{packageVersion}/{fileUuid}/download
The request returns a Maven package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageUuid |
String | Package identifier |
packageVersion |
String | Package version |
fileUuid |
String | File identifier |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish NPM Package
Depending on the presence of a package scope, one of the following methods must be used:
-
Updating a package without a specified scope:
-
Project: PUT
/registry/project/{ownerAlias}/{projectAlias}/package/npm/{packageName}/{packageVersion}/{fileName} -
Company: PUT
/registry/company/{companyAlias}/package/npm/{packageName}/{packageVersion}/{fileName} -
Entire Service: PUT
/registry/package/npm/{packageName}/{packageVersion}/{fileName}
-
-
Updating a package with a specified scope:
-
Project: PUT
/registry/project/{ownerAlias}/{projectAlias}/package/npm/{packageName}/{packageScope}/{packageVersion}/{fileName} -
Company: PUT
/registry/company/{companyAlias}/package/npm/{packageName}/{packageScope}/{packageVersion}/{fileName} -
Entire Service: PUT
/registry/package/npm/{packageName}/{packageScope}/{packageVersion}/{fileName}
-
The request uploads an attached file to the specified version of an NPM package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageScope |
String | Scope |
packageVersion |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download NPM Package
Depending on the presence of a package scope, one of the following methods must be used:
-
Getting a package without a specified scope:
-
Project: GET
/registry/project/{ownerAlias}/{projectAlias}/package/npm/{packageName}/{packageVersion}/{fileName} -
Company: GET
/registry/company/{companyAlias}/package/npm/{packageName}/{packageVersion}/{fileName} -
Entire Service: GET
/registry/package/npm/{packageName}/{packageVersion}/{fileName}
-
-
Getting a package with a specified scope:
-
Project: GET
/registry/project/{ownerAlias}/{projectAlias}/package/npm/{packageName}/{packageScope}/{packageVersion}/{fileName} -
Company: GET
/registry/company/{companyAlias}/package/npm/{packageName}/{packageScope}/{packageVersion}/{fileName} -
Entire Service: GET
/registry/package/npm/{packageName}/{packageScope}/{packageVersion}/{fileName}
-
The request returns an NPM package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageScope |
String | Package scope |
packageVersion |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish PyPi Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/pypi/{packageName}/{packageVersion}/{fileName}
Company: PUT /registry/company/{companyAlias}/package/pypi/{packageName}/{packageVersion}/{fileName}
Entire Service: PUT /registry/package/pypi/{packageName}/{packageVersion}/{fileName}
The request uploads an attached file to the specified version of a PyPi package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download PyPi Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/pypi/{packageName}/{packageVersion}/{fileName}
Company: GET /registry/company/{companyAlias}/package/pypi/{packageName}/{packageVersion}/{fileName}
Entire Service: GET /registry/package/pypi/{packageName}/{packageVersion}/{fileName}
The request returns a PyPi package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish NuGet Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/nuget
Company: PUT /registry/company/{companyAlias}/package/nuget
Entire Service: PUT /registry/package/nuget
The request uploads an attached file to the specified version of a NuGet package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download NuGet Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/nuget/{packageName}/{packageVersion}
Company: GET /registry/company/{companyAlias}/package/nuget/{packageName}/{packageVersion}
Entire Service: GET /registry/package/nuget/{packageName}/{packageVersion}
The request returns a NuGet package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Create Composer Package by Tag
POST /project/{ownerAlias}/{projectAlias}/package/-/composer?tag={tagName}
The method builds a Composer package from repository files based on the specified tag and places it in the project's Container and Package Registry.
Please note, this request must be sent to the URL where the registry is located:
- For SaaS version -
https://registry.gitflic.ru - For self-hosted -
localhost:8080
The port for the self-hosted version may differ
Example:
https://registry.gitflic.ru/project/adminuser/test_project/package/-/composer?tag=1.2.3
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
tagName |
String | Tag name |
Authorization for this method is done using Basic Auth. For the Authorization header, you must provide credentials encrypted with base64 - Basic {login}:{transportToken}
Example
Credentials adminuser@admin.local:qwerty123 in plain text will look like this in base64 in the header:
Authorization - Basic YWRtaW51c2VyQGFkbWluLmxvY2FsOnF3ZXJ0eTEyMw==
| Credentials | Type | Description |
|---|---|---|
login |
String | User alias |
transportToken |
String | Transport token |
Instructions for obtaining a token can be found on the page.
Responses
STATUS 200 - Package created and added to the Container and Package Registry.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish Composer Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/composer/{packageVersion}
Company: PUT /registry/company/{companyAlias}/package/composer/{packageVersion}
Entire Service: PUT /registry/package/composer/{packageVersion}
The request uploads an attached file to the specified version of a Composer package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageVersion |
String | Package version |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download Composer Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/composer/{groupId}/{artifactId}/{packageVersion}
Company: GET /registry/company/{companyAlias}/package/composer/{groupId}/{artifactId}/{packageVersion}
Entire Service: GET /registry/package/composer/{groupId}/{artifactId}/{packageVersion}
The request returns a Composer package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
groupId |
String | Group identifier |
artifactId |
String | Artifact identifier |
packageVersion |
String | Package version |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish OneScript Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/opm/{fileName}
Company: PUT /registry/company/{companyAlias}/package/opm/{fileName}
Entire Service: PUT /registry/package/opm/{fileName}
The request uploads an attached file to the specified version of a OneScript package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
fileName |
String | File name |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download OneScript Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/opm/{packageName}/{packageVersion}/{fileName}
Company: GET /registry/company/{companyAlias}/package/opm/{packageName}/{packageVersion}/{fileName}
Entire Service: GET /registry/package/opm/{packageName}/{packageVersion}/{fileName}
The request returns a OneScript package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
fileName |
String | File name |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish Cran Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/cran/{languageVersion}/{fileName}
Company: PUT /registry/company/{companyAlias}/package/cran/{languageVersion}/{fileName}
Entire Service: PUT /registry/package/cran/{languageVersion}/{fileName}
The request uploads an attached file to the specified version of a Cran package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
languageVersion |
String | Language version |
fileName |
String | File name |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download Cran Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/cran/{fileName}?languageVersion={languageVersion}&platform={platform}
Company: GET /registry/company/{companyAlias}/package/cran/{fileName}?languageVersion={languageVersion}&platform={platform}
Entire Service: GET /registry/package/cran/{fileName}?languageVersion={languageVersion}&platform={platform}
The request returns a Cran package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
fileName |
String | File name |
languageVersion |
String | Language version |
platform |
String | Required only for downloading files in .tgz and .zip formats. The platform for which the package was built. Can take the following values: macosx, windows |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish Gem Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/rubygem
Company: PUT /registry/company/{companyAlias}/package/rubygem
Entire Service: PUT /registry/package/rubygem
The request uploads an attached file to the specified version of a Gem package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download Gem Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/rubygem/{packageName}/{packageVersion}
Company: GET /registry/company/{companyAlias}/package/rubygem/{packageName}/{packageVersion}
Entire Service: GET /registry/package/rubygem/{packageName}/{packageVersion}
The request returns a Gem package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish Cargo Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/cargo
Company: PUT /registry/company/{companyAlias}/package/cargo
Entire Service: PUT /registry/package/cargo
The request uploads an attached file to the specified version of a Cargo package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download Cargo Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/cargo/{packageName}/{packageVersion}
Company: GET /registry/company/{companyAlias}/package/cargo/{packageName}/{packageVersion}
Entire Service: GET /registry/package/cargo/{packageName}/{packageVersion}
The request returns a Cargo package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
packageName |
String | Package name |
packageVersion |
String | Package version |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Publish Conda Package
Project: PUT /registry/project/{ownerAlias}/{projectAlias}/package/conda/{fileName}?channel={channel}
Company: PUT /registry/company/{companyAlias}/package/conda/{fileName}?channel={channel}
Entire Service: PUT /registry/package/conda/{fileName}?channel={channel}
The request uploads an attached file to the specified version of a Conda package. This method can be used to create a new package version or an entire package, provided non-existent data is specified.
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
fileName |
String | File name |
channel |
String | Optional request. Package channel |
Responses
STATUS 200 - Package uploaded.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Download Conda Package
Project: GET /registry/project/{ownerAlias}/{projectAlias}/package/conda/{platform}/{fileName}
Company: GET /registry/company/{companyAlias}/package/conda/{platform}/{fileName}
Entire Service: GET /registry/package/conda/{platform}/{fileName}
The request returns a Conda package file
| Path Variable | Type | Description |
|---|---|---|
ownerAlias |
String | Project owner alias |
projectAlias |
String | Project alias |
companyAlias |
String | Company alias |
platform |
String | Platform for which the package was built |
fileName |
String | File name |
Responses
STATUS 200 - Package content received.
STATUS 403 - No access rights.
STATUS 404 - Data not found for the request.
Automated translation!
This page was translated using automatic translation tools. The text may contain inaccuracies.