All URIs are relative to https://api.cloudsmith.io/v1
Method | HTTP request | Description |
---|---|---|
FilesAbort | Post /files/{owner}/{repo}/{identifier}/abort/ | Abort a multipart file upload. |
FilesComplete | Post /files/{owner}/{repo}/{identifier}/complete/ | Complete a multipart file upload. |
FilesCreate | Post /files/{owner}/{repo}/ | Request URL(s) to upload new package file upload(s) to. |
FilesInfo | Get /files/{owner}/{repo}/{identifier}/info/ | Get upload information for a multipart file upload. |
FilesValidate | Post /files/{owner}/{repo}/validate/ | Validate parameters used for create. |
FilesAbort(ctx, owner, repo, identifier, optional) Abort a multipart file upload.
Abort a multipart file upload.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
owner | string | ||
repo | string | ||
identifier | string | ||
optional | *FilesApiFilesAbortOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a FilesApiFilesAbortOpts struct
Name | Type | Description | Notes |
---|
data | optional.Interface of FilesAbort| |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PackageFileUpload FilesComplete(ctx, owner, repo, identifier, optional) Complete a multipart file upload.
Complete a multipart file upload.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
owner | string | ||
repo | string | ||
identifier | string | ||
optional | *FilesApiFilesCompleteOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a FilesApiFilesCompleteOpts struct
Name | Type | Description | Notes |
---|
data | optional.Interface of FilesComplete| |
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PackageFileUpload FilesCreate(ctx, owner, repo, optional) Request URL(s) to upload new package file upload(s) to.
Request URL(s) to upload new package file upload(s) to.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
owner | string | ||
repo | string | ||
optional | *FilesApiFilesCreateOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a FilesApiFilesCreateOpts struct
Name | Type | Description | Notes |
---|
data | optional.Interface of FilesCreate| |
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PackageFilePartsUpload FilesInfo(ctx, owner, repo, identifier) Get upload information for a multipart file upload.
Get upload information for a multipart file upload.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
owner | string | ||
repo | string | ||
identifier | string |
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FilesValidate(ctx, owner, repo, optional) Validate parameters used for create.
Validate parameters used for create.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
owner | string | ||
repo | string | ||
optional | *FilesApiFilesValidateOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a FilesApiFilesValidateOpts struct
Name | Type | Description | Notes |
---|
data | optional.Interface of FilesValidate| |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]