All URIs are relative to /api
Method | HTTP request | Description |
---|---|---|
CreateAttachment | Post /attachments | Create a new attachment on a log |
GetAttachment | Get /attachments/{attachmentId} | Get one specific attachment |
ArrayOfAttachmentsResponse CreateAttachment(ctx, body) Create a new attachment on a log
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | CreateAttachments |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArrayOfAttachmentsResponse GetAttachment(ctx, attachmentId) Get one specific attachment
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
attachmentId | int64 | The id of the attached to retrieve |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]