All URIs are relative to http://api.madana.io/rest
Method | HTTP request | Description |
---|---|---|
cancel_subscription | post /users/{username}/subscriptions/{planname}/cancel | |
create_object | post /users | Creates a new user object. |
delete_object | delete /users/{username} | Deletes an User based on the provided id and securitycontext. |
delete_object_0 | delete /users/{username}/social/{platform}/{ident} | Deletes linked account from the user and securitycontext. |
get_avatars | get /users/{username}/avatars | |
get_certificates | get /users/{username}/certificates | |
get_enclave_history | get /users/{username}/enclavehistory | |
get_object2 | get /users/{username} | |
set_avatar | post /users/{username}/avatars | |
set_settings | post /users/{username}/settings | |
update_object | put /users/{username} | Updates Userproperties based on the provided user object. |
std::path::PathBuf cancel_subscription(planname, username)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
planname | String | [required] | ||
username | String | [required] |
std::path::PathBuf
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf create_object(referrer, body) Creates a new user object.
Creates a new user object
Name | Type | Description | Required | Notes |
---|---|---|---|---|
referrer | Option<String> | |||
body | Option<JsonMdnUser> | provided user object inheriting properties and credentials |
std::path::PathBuf
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf delete_object(username) Deletes an User based on the provided id and securitycontext.
Deletes an User based on the provided id and securitycontext
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] |
std::path::PathBuf
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf delete_object_0(ident, platform, username) Deletes linked account from the user and securitycontext.
Deletes linked account from the user and securitycontext
Name | Type | Description | Required | Notes |
---|---|---|---|---|
ident | String | [required] | ||
platform | String | [required] | ||
username | String | [required] |
std::path::PathBuf
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf get_avatars(username)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] |
std::path::PathBuf
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf get_certificates(username)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] |
std::path::PathBuf
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf get_enclave_history(username, limit, offset)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] | ||
limit | Option<String> | [default to 30] | ||
offset | Option<String> | [default to 0] |
std::path::PathBuf
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf get_object2(username)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] |
std::path::PathBuf
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf set_avatar(username, body)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] | ||
body | Option<JsonMdnUserProfileImage> |
std::path::PathBuf
No authorization required
- Content-Type: application/json, application/xml
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf set_settings(username, body)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] | ||
body | Option<JsonMdnUserSetting> |
std::path::PathBuf
No authorization required
- Content-Type: application/json, application/xml
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf update_object(username, body) Updates Userproperties based on the provided user object.
Updates Userproperties based on the provided user object
Name | Type | Description | Required | Notes |
---|---|---|---|---|
username | String | [required] | ||
body | Option<JsonMdnUser> | the new user object inherting all properties that should be change |
std::path::PathBuf
No authorization required
- Content-Type: application/json
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]