All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
approve_access_request | PUT /v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/access_requests/{access_request_id}/approve | Approve Access Request |
cancel_access_request | PUT /v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/access_requests/{access_request_id}/cancel | Cancel Access Request |
create_access_request | POST /v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/access_requests | Create Access Request |
deny_access_request | PUT /v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/access_requests/{access_request_id}/deny | Deny Access Request |
get_access_request | GET /v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/access_requests/{access_request_id} | Get Access Request |
list_access_requests | GET /v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/access_requests | List Access Requests |
update_access_request_reviewer | PATCH /v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/access_requests/{access_request_id}/reviewer | Update Access Request Reviewer |
models::AccessRequestApproved approve_access_request(proj_id, access_request_id, env_id, elements_config_id, access_request_review) Approve Access Request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
access_request_id | uuid::Uuid | Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
elements_config_id | String | Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug"). | [required] | |
access_request_review | AccessRequestReview | [required] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::AccessRequestCanceled cancel_access_request(proj_id, access_request_id, env_id, elements_config_id) Cancel Access Request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
access_request_id | String | Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
elements_config_id | String | Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug"). | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::AccessRequestRead create_access_request(proj_id, elements_config_id, env_id, access_request_user_create) Create Access Request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
elements_config_id | String | Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
access_request_user_create | AccessRequestUserCreate | [required] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::AccessRequestDenied deny_access_request(proj_id, access_request_id, env_id, elements_config_id, access_request_review_deny) Deny Access Request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
access_request_id | String | Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
elements_config_id | String | Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug"). | [required] | |
access_request_review_deny | AccessRequestReviewDeny | [required] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::AccessRequestRead get_access_request(proj_id, elements_config_id, access_request_id, env_id, page, per_page) Get Access Request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
elements_config_id | String | Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug"). | [required] | |
access_request_id | String | Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
page | Option<i32> | Page number of the results to fetch, starting at 1. | [default to 1] | |
per_page | Option<i32> | The number of results per page (max 100). | [default to 30] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::PaginatedResultAccessRequestRead list_access_requests(proj_id, elements_config_id, env_id, status, tenant, role, resource, resource_instance, page, per_page) List Access Requests
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
elements_config_id | String | Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
status | Option<models::RequestStatus> | Optional status filter, will only return access requests with this status. | ||
tenant | Option<String> | Optional tenant filter, will only return access request granted in that tenant. | ||
role | Option<String> | Optional role filter, will only return access request granted with that role. | ||
resource | Option<String> | Optional resource filter, will only return access request granted in that resource. | ||
resource_instance | Option<String> | Optional resource_instance filter, will only return access request granted in that resource instance. | ||
page | Option<i32> | Page number of the results to fetch, starting at 1. | [default to 1] | |
per_page | Option<i32> | The number of results per page (max 100). | [default to 30] |
models::PaginatedResultAccessRequestRead
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::AccessRequestRead update_access_request_reviewer(proj_id, access_request_id, env_id, elements_config_id, access_request_review) Update Access Request Reviewer
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
access_request_id | String | Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
elements_config_id | String | Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug"). | [required] | |
access_request_review | AccessRequestReview | [required] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]