12/26/2023 0 Comments Seafile api![]() Response code is 201(Created) and Location header provides url of starred file list. Sample request curl -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e6199b477fd" -H 'Accept: application/json indent=4' Sample request curl -v -X DELETE -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd" -H 'Accept: application/json indent=4' / 400 Bad Request, keyword password is required.Success Response code 200(OK) is returned. Sample request curl -v -X PUT -d "password=654321&is_staff=true" -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd" -H 'Accept: application/json indent=4' / Success Response code 201(Created) is returned and the Location header provides shared link. Sample request curl -v -X PUT -d "password=123456" -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd" -H 'Accept: application/json indent=4' / 403 Permission error, only administrator can perform this action.Sample request curl -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd" -H 'Accept: application/json indent=4' If scope parameter is passed then accounts will be searched inside the specific scope, otherwise it will be used the old approach: first LDAP and, if no account is found, DB. To retrieve all users, just set both start and limit to -1. scope (default None, accepted values: 'LDAP' or 'DB').See the Quick Start for details.įor each API, we provide curl examples to illustrate the usage. The api key can be retrieved by the obtain auth api. Garbage Collecting Unused Blocks on Seafile Serverĭownload and Setup Seafile Professional ServerĮnable search and background tasks in a clusterĪll API calls must be authenticated with a valid Seafile API key. Install Seafile Server as a Windows Service Download and Setup Seafile Windows Server ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |