All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
VariablesControllerCreate | Post /v1/projects/{project}/variables | Create a Variable |
VariablesControllerFindAll | Get /v1/projects/{project}/variables | List Variables |
VariablesControllerFindOne | Get /v1/projects/{project}/variables/{key} | Get a Variable |
VariablesControllerRemove | Delete /v1/projects/{project}/variables/{key} | Delete a Variable |
VariablesControllerUpdate | Patch /v1/projects/{project}/variables/{key} | Update a Variable |
Variable VariablesControllerCreate(ctx, body, project) Create a Variable
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | CreateVariableDto | ||
project | Object | A Project key or ID |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Variable VariablesControllerFindAll(ctx, project, optional) List Variables
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
project | Object | A Project key or ID | |
optional | *VariablesApiVariablesControllerFindAllOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a VariablesApiVariablesControllerFindAllOpts struct
Name | Type | Description | Notes |
---|
page | optional.Float64| | [default to 1] perPage | optional.Float64| | [default to 100] sortBy | optional.String| | [default to createdAt] sortOrder | optional.String| | [default to desc] search | optional.String| | feature | optional.String| | type_ | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Variable VariablesControllerFindOne(ctx, key, project) Get a Variable
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
key | string | A Variable key or ID | |
project | Object | A Project key or ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariablesControllerRemove(ctx, key, project) Delete a Variable
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
key | string | A Variable key or ID | |
project | Object | A Project key or ID |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Variable VariablesControllerUpdate(ctx, body, key, project) Update a Variable
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | UpdateVariableDto | ||
key | string | A Variable key or ID | |
project | Object | A Project key or ID |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]