Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_response_object | POST /service/{service_id}/version/{version_id}/response_object | Create a Response object |
delete_response_object | DELETE /service/{service_id}/version/{version_id}/response_object/{response_object_name} | Delete a Response Object |
get_response_object | GET /service/{service_id}/version/{version_id}/response_object/{response_object_name} | Get a Response object |
list_response_objects | GET /service/{service_id}/version/{version_id}/response_object | List Response objects |
update_response_object | PUT /service/{service_id}/version/{version_id}/response_object/{response_object_name} | Update a Response object |
Creates a new Response Object.
let cfg = &Configuration::default();
let params = CreateResponseObjectParams {
// parameters
};
create_response_object(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] | |
create_response_object_request | Option<CreateResponseObjectRequest> |
crate::models::ResponseObjectResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Deletes the specified Response Object.
let cfg = &Configuration::default();
let params = DeleteResponseObjectParams {
// parameters
};
delete_response_object(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] | |
response_object_name | String | Name for the request settings. | [required] |
crate::models::InlineResponse200
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Gets the specified Response Object.
let cfg = &Configuration::default();
let params = GetResponseObjectParams {
// parameters
};
get_response_object(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] | |
response_object_name | String | Name for the request settings. | [required] |
crate::models::ResponseObjectResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Returns all Response Objects for the specified service and version.
let cfg = &Configuration::default();
let params = ListResponseObjectsParams {
// parameters
};
list_response_objects(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] |
Vec<crate::models::ResponseObjectResponse>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Updates the specified Response Object.
let cfg = &Configuration::default();
let params = UpdateResponseObjectParams {
// parameters
};
update_response_object(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
version_id | i32 | Integer identifying a service version. | [required] | |
response_object_name | String | Name for the request settings. | [required] | |
create_response_object_request | Option<CreateResponseObjectRequest> |
crate::models::ResponseObjectResponse
- Content-Type: application/json
- Accept: application/json