Note
All URIs are relative to https://api.fastly.com
| Method | HTTP request | Description |
|---|---|---|
| api_security_bulk_add_tags_to_operations | POST /api-security/v1/services/{service_id}/operations-bulk-tags | Bulk add tags to operations |
| api_security_bulk_create_operations | POST /api-security/v1/services/{service_id}/operations-bulk | Bulk create operations |
| api_security_bulk_delete_operations | DELETE /api-security/v1/services/{service_id}/operations-bulk | Bulk delete operations |
| api_security_create_operation | POST /api-security/v1/services/{service_id}/operations | Create operation |
| api_security_create_operation_tag | POST /api-security/v1/services/{service_id}/tags | Create operation tag |
| api_security_delete_operation | DELETE /api-security/v1/services/{service_id}/operations/{operation_id} | Delete operation |
| api_security_delete_operation_tag | DELETE /api-security/v1/services/{service_id}/tags/{tag_id} | Delete operation tag |
| api_security_get_operation | GET /api-security/v1/services/{service_id}/operations/{operation_id} | Retrieve operation |
| api_security_get_operation_tag | GET /api-security/v1/services/{service_id}/tags/{tag_id} | Retrieve operation tag |
| api_security_list_discovered_operations | GET /api-security/v1/services/{service_id}/discovered-operations | List discovered operations |
| api_security_list_operation_tags | GET /api-security/v1/services/{service_id}/tags | List operation tags |
| api_security_list_operations | GET /api-security/v1/services/{service_id}/operations | List operations |
| api_security_update_operation | PATCH /api-security/v1/services/{service_id}/operations/{operation_id} | Update operation |
| api_security_update_operation_tag | PATCH /api-security/v1/services/{service_id}/tags/{tag_id} | Update operation tag |
Add tags to multiple operations in a single request.
let cfg = &Configuration::default();
let params = ApiSecurityBulkAddTagsToOperationsParams {
// parameters
};
api_security_bulk_add_tags_to_operations(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| operation_bulk_add_tags | Option<OperationBulkAddTags> |
crate::models::InlineResponse2071
- Content-Type: application/json
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Create multiple operations associated with a specific service in a single request.
let cfg = &Configuration::default();
let params = ApiSecurityBulkCreateOperationsParams {
// parameters
};
api_security_bulk_create_operations(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| operation_bulk_create | Option<OperationBulkCreate> |
crate::models::InlineResponse207
- Content-Type: application/json
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Delete multiple operations in a single request.
let cfg = &Configuration::default();
let params = ApiSecurityBulkDeleteOperationsParams {
// parameters
};
api_security_bulk_delete_operations(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| operation_bulk_delete | Option<OperationBulkDelete> |
crate::models::InlineResponse2071
- Content-Type: application/json
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Create a new operation associated with a specific service.
let cfg = &Configuration::default();
let params = ApiSecurityCreateOperationParams {
// parameters
};
api_security_create_operation(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| operation_create | Option<OperationCreate> |
- Content-Type: application/json
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Create a new operation tag associated with a specific service.
let cfg = &Configuration::default();
let params = ApiSecurityCreateOperationTagParams {
// parameters
};
api_security_create_operation_tag(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| tag_create | Option<TagCreate> |
- Content-Type: application/json
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Delete an existing operation associated with a specific service.
let cfg = &Configuration::default();
let params = ApiSecurityDeleteOperationParams {
// parameters
};
api_security_delete_operation(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| operation_id | String | The unique identifier of the operation. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: application/problem+json
[Back to top] [Back to API list] [Back to README]
Delete an existing operation tag.
let cfg = &Configuration::default();
let params = ApiSecurityDeleteOperationTagParams {
// parameters
};
api_security_delete_operation_tag(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| tag_id | String | The unique identifier of the operation tag. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: application/problem+json
[Back to top] [Back to API list] [Back to README]
Get a specific operation associated with a service.
let cfg = &Configuration::default();
let params = ApiSecurityGetOperationParams {
// parameters
};
api_security_get_operation(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| operation_id | String | The unique identifier of the operation. | [required] |
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Get a specific operation tag by its unique identifier.
let cfg = &Configuration::default();
let params = ApiSecurityGetOperationTagParams {
// parameters
};
api_security_get_operation_tag(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| tag_id | String | The unique identifier of the operation tag. | [required] |
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
List all discovered operations associated with a specific service. Optionally filter operations by status.
let cfg = &Configuration::default();
let params = ApiSecurityListDiscoveredOperationsParams {
// parameters
};
api_security_list_discovered_operations(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| method | Option<Vec<String>> | Filter operations by HTTP method. | ||
| domain | Option<Vec<String>> | Filter operations by fully-qualified domain name (exact match). | ||
| path | Option<String> | Filter operations by path (exact match). | ||
| limit | Option<i32> | The maximum number of operations to return per page. | [default to 100] | |
| page | Option<i32> | The page number to return. | [default to 0] |
crate::models::InlineResponse2001
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
List all operation tags associated with a specific service.
let cfg = &Configuration::default();
let params = ApiSecurityListOperationTagsParams {
// parameters
};
api_security_list_operation_tags(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| limit | Option<i32> | The maximum number of operations to return per page. | [default to 100] | |
| page | Option<i32> | The page number to return. | [default to 0] |
crate::models::InlineResponse2003
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
List all operations associated with a specific service. Optionally filter operations by tag ID.
let cfg = &Configuration::default();
let params = ApiSecurityListOperationsParams {
// parameters
};
api_security_list_operations(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| tag_id | Option<String> | Filter operations by operation tag ID. Only operations associated with this operation tag will be returned. | ||
| status | Option<String> | Filter operations by status. Defaults to SAVED if omitted. | [default to SAVED] | |
| method | Option<Vec<String>> | Filter operations by HTTP method. | ||
| domain | Option<Vec<String>> | Filter operations by fully-qualified domain name (exact match). | ||
| path | Option<String> | Filter operations by path (exact match). | ||
| limit | Option<i32> | The maximum number of operations to return per page. | [default to 100] | |
| page | Option<i32> | The page number to return. | [default to 0] |
crate::models::InlineResponse2002
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Partially update an existing operation associated with a specific service.
let cfg = &Configuration::default();
let params = ApiSecurityUpdateOperationParams {
// parameters
};
api_security_update_operation(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| operation_id | String | The unique identifier of the operation. | [required] | |
| operation_update | Option<OperationUpdate> |
- Content-Type: application/json
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Partially update an existing operation tag.
let cfg = &Configuration::default();
let params = ApiSecurityUpdateOperationTagParams {
// parameters
};
api_security_update_operation_tag(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| service_id | String | The unique identifier of the service. | [required] | |
| tag_id | String | The unique identifier of the operation tag. | [required] | |
| body | Option<crate::models::TagBase> |
- Content-Type: application/json
- Accept: application/json, application/problem+json