All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
delete_policies_delete | DELETE /policies/{id} | |
get_policies_get | GET /policies/{id} | |
get_policies_get_all | GET /policies | |
post_policies_post | POST /policies | |
put_policies_put | PUT /policies/{id} |
crate::models::PolicySchema delete_policies_delete(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::PolicySchema get_policies_get(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::PaginationSchema get_policies_get_all()
This endpoint does not need any parameter.
crate::models::PaginationSchema
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::PolicySchema post_policies_post(request_body)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
request_body | Option<PolicySchema> |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::PolicySchema put_policies_put(id, request_body)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | [required] | ||
request_body | Option<PolicySchema> |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]