Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P Portal-api
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • doc
  • Portal-api
  • Wiki
  • Folder API

Folder API · Changes

Page history
Updated styling authored Apr 22, 2022 by Jurjen Brouwer's avatar Jurjen Brouwer
Show whitespace changes
Inline Side-by-side
Showing with 17 additions and 12 deletions
+17 -12
  • Folder-API.md Folder-API.md +17 -12
  • No files found.
Folder-API.md
View page @ b78df422
## Actions
### Create ### Create
Create a new folder for the user that has authenticated itself. Create a new folder for the user that has authenticated itself.
``` ```
...@@ -5,8 +7,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/create ...@@ -5,8 +7,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/create
``` ```
Parameters: Parameters:
- **name**, *string*: the new name of the folder; - **name** - *string*: the new name of the folder;
- **type**, *string*: the type of folder. We currently only support the type `folderApp`. - **type** - *string*: the type of folder. We currently only support the type `folderApp`.
### Info ### Info
...@@ -16,7 +18,7 @@ https://portal.robotsindeklas.nl/API/v1/folder/info ...@@ -16,7 +18,7 @@ https://portal.robotsindeklas.nl/API/v1/folder/info
``` ```
Parameter: Parameter:
- **folder**, *string*: the object id of the folder you want the info of - **folder** - *string*: the object id of the folder you want the info of
### Copy ### Copy
Create a copy of an existing folder. Create a copy of an existing folder.
...@@ -25,8 +27,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/copy ...@@ -25,8 +27,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/copy
``` ```
Parameters: Parameters:
- **folder**, *string*: the object id of the folder you want to copy; - **folder** - *string*: the object id of the folder you want to copy;
- **name**, *string*, (optional, default: name of the original folder): the new name of the copied folder. - **name** - *string* - (optional, default: name of the original folder): the new name of the copied folder.
### Lock ### Lock
...@@ -37,8 +39,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/lock ...@@ -37,8 +39,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/lock
``` ```
Parameters: Parameters:
- **folder**, *string*: the object id of the folder you want to lock; - **folder** - *string*: the object id of the folder you want to lock;
- **lock**, *boolean*, (optional, default: false): lock (true) or unlock (false) this folder. - **lock** - *boolean* - (optional, default: false): lock (true) or unlock (false) this folder.
### Share ### Share
...@@ -53,9 +55,9 @@ https://portal.robotsindeklas.nl/API/v1/folder/share ...@@ -53,9 +55,9 @@ https://portal.robotsindeklas.nl/API/v1/folder/share
``` ```
Parameters: Parameters:
- **folder**, *string*: the object id of the folder you want to share; - **folder** - *string*: the object id of the folder you want to share;
- **level**, *int*: the share level we want to assign to the user or group with this request; - **level** - *int*: the share level we want to assign to the user or group with this request;
- **oid**, *string*: the object id of the user or group we want the share this folder with. - **oid** - *string*: the object id of the user or group we want the share this folder with.
### Trash ### Trash
...@@ -65,5 +67,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/trash ...@@ -65,5 +67,8 @@ https://portal.robotsindeklas.nl/API/v1/folder/trash
``` ```
Parameters: Parameters:
- **folder**, *string*: the object id of the folder we want to trash; - **folder** - *string*: the object id of the folder we want to trash;
- **del**, *boolean*: delete (true) or restore (false) deleted item. - **del** - *boolean*: delete (true) or restore (false) deleted item.
\ No newline at end of file
## Response
Clone repository
  • App API
  • Folder API
  • Group API
  • Robot API
  • User API
  • Home