All URIs are relative to https://www.metaculus.com
Method | HTTP request | Description |
---|---|---|
organizations_list | GET /api2/organizations/ | |
organizations_members_create | POST /api2/organizations/{id}/members/ | |
organizations_members_create2 | POST /api2/organizations/{id}/members/{user_id}/ | |
organizations_members_destroy | DELETE /api2/organizations/{id}/members/{user_id}/ | |
organizations_members_partial_update | PATCH /api2/organizations/{id}/members/{user_id}/ | |
organizations_members_update | PUT /api2/organizations/{id}/members/{user_id}/ | |
organizations_retrieve | GET /api2/organizations/{id}/ |
crate::models::PaginatedOrganizationList organizations_list(page)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
page | Option<i32> | A page number within the paginated result set. |
crate::models::PaginatedOrganizationList
basicAuth, cookieAuth, tokenAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Organization organizations_members_create(id, organization)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this organization. | [required] | |
organization | Organization | [required] |
basicAuth, cookieAuth, tokenAuth
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Organization organizations_members_create2(id, user_id, organization)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this organization. | [required] | |
user_id | String | [required] | ||
organization | Organization | [required] |
basicAuth, cookieAuth, tokenAuth
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizations_members_destroy(id, user_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this organization. | [required] | |
user_id | String | [required] |
(empty response body)
basicAuth, cookieAuth, tokenAuth
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Organization organizations_members_partial_update(id, user_id, patched_organization)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this organization. | [required] | |
user_id | String | [required] | ||
patched_organization | Option<PatchedOrganization> |
basicAuth, cookieAuth, tokenAuth
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Organization organizations_members_update(id, user_id, organization)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this organization. | [required] | |
user_id | String | [required] | ||
organization | Organization | [required] |
basicAuth, cookieAuth, tokenAuth
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::OrganizationDetail organizations_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this organization. | [required] |
crate::models::OrganizationDetail
basicAuth, cookieAuth, tokenAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]