All URIs are relative to /api
Method | HTTP request | Description |
---|---|---|
CreateLog | Post /logs | Adds a new log |
GetLogAttachment | Get /logs/{logId}/attachments/{attachmentId} | Get one specific attachment associated with a log |
GetLogById | Get /logs/{logId} | Gets a log by Id |
GetLogTree | Get /logs/{logId}/tree | Get the Log tree for a given Log |
ListLogAttachments | Get /logs/{logId}/attachments | Get all attachments associated with a log |
ListLogs | Get /logs | List all logs |
ListTagsByLogId | Get /logs/{logId}/tags | Lists all tags associated with a log |
LogResponse CreateLog(ctx, body) Adds a new log
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | CreateLog |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AttachmentResponse GetLogAttachment(ctx, logId, attachmentId) Get one specific attachment associated with a log
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
logId | int64 | The id of the log to retrieve | |
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]
LogResponse GetLogById(ctx, logId) Gets a log by Id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
logId | int64 | The id of the log to retrieve |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LogTreeResponse GetLogTree(ctx, logId) Get the Log tree for a given Log
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
logId | int64 | The id of the log to retrieve |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArrayOfAttachmentsResponse ListLogAttachments(ctx, logId) Get all attachments associated with a log
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
logId | int64 | The id of the log to retrieve |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArrayOfLogsResponse ListLogs(ctx, ) List all logs
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ArrayOfTagsResponse ListTagsByLogId(ctx, logId) Lists all tags associated with a log
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
logId | int64 | The id of the log to retrieve |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]