All URIs are relative to https://api.bombbomb.com/v2
Method | HTTP request | Description |
---|---|---|
DocHostDelete | Delete /files/{docId} | Delete file |
DocHostGet | Get /files/{docId} | Get file |
DocHostList | Get /files | List all files |
DocHostUploadV2 | Post /files | Upload a file |
GetHostedImagesPaged | Get /files/images/paged | Get paged hosted images |
DocHostDelete(ctx, docId) Delete file
Deletes a users file
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
docId | string | Id of document |
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HostedDoc DocHostGet(ctx, docId) Get file
Get a single file by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
docId | string | Id of document |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]HostedDoc DocHostList(ctx, ) List all files
List all uploaded user files
This endpoint does not need any parameter.
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]HostedDoc DocHostUploadV2(ctx, file) Upload a file
Upload a new file
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
file | string | The file being uploaded |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetHostedImagesPaged(ctx, pageSize, page, optional) Get paged hosted images
Get a specific page of uploaded images available to the user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
pageSize | string | The number of items to retrieve in a single db query. | |
page | string | Zero-based index of the page of data to retrieve from the db. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
pageSize | string | The number of items to retrieve in a single db query. | |
page | string | Zero-based index of the page of data to retrieve from the db. | |
search | string | Filter results with names that match the search term. |
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]