Skip to content

Latest commit

 

History

History
151 lines (78 loc) · 4.14 KB

File metadata and controls

151 lines (78 loc) · 4.14 KB

\RootFolderApi

All URIs are relative to http://localhost:8787

Method HTTP request Description
create_root_folder POST /api/v1/rootfolder
delete_root_folder DELETE /api/v1/rootfolder/{id}
get_root_folder_by_id GET /api/v1/rootfolder/{id}
list_root_folder GET /api/v1/rootfolder
update_root_folder PUT /api/v1/rootfolder/{id}

create_root_folder

models::RootFolderResource create_root_folder(root_folder_resource)

Parameters

Name Type Description Required Notes
root_folder_resource Option<RootFolderResource>

Return type

models::RootFolderResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: application/json, text/json, application/*+json
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_root_folder

delete_root_folder(id)

Parameters

Name Type Description Required Notes
id i32 [required]

Return type

(empty response body)

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_root_folder_by_id

models::RootFolderResource get_root_folder_by_id(id)

Parameters

Name Type Description Required Notes
id i32 [required]

Return type

models::RootFolderResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_root_folder

Vecmodels::RootFolderResource list_root_folder()

Parameters

This endpoint does not need any parameter.

Return type

Vecmodels::RootFolderResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_root_folder

models::RootFolderResource update_root_folder(id, root_folder_resource)

Parameters

Name Type Description Required Notes
id String [required]
root_folder_resource Option<RootFolderResource>

Return type

models::RootFolderResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: application/json, text/json, application/*+json
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]