Sha256: ad2d81c2b118bf37ccab946cac6de56eec62bc5eabfe2128ac286a0c03d8e882
Contents?: true
Size: 1.87 KB
Versions: 5
Compression:
Stored size: 1.87 KB
Contents
# Project ## Example Project Object ``` { "id": 1, "global_access": "none" } ``` * `id` (int64): Project ID * `global_access` (string): Global access settings --- ## List Projects ``` Files::Project.list ``` ### Parameters * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination. * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended). * `action` (string): * `page` (int64): --- ## Show Project ``` Files::Project.find(id) ``` ### Parameters * `id` (int64): Required - Project ID. --- ## Create Project ``` Files::Project.create( global_access: "global_access" ) ``` ### Parameters * `global_access` (string): Required - Global permissions. Can be: `none`, `anyone_with_read`, `anyone_with_full`. --- ## Update Project ``` Files::Project.update(id, global_access: "global_access" ) ``` ### Parameters * `id` (int64): Required - Project ID. * `global_access` (string): Required - Global permissions. Can be: `none`, `anyone_with_read`, `anyone_with_full`. --- ## Delete Project ``` Files::Project.delete(id) ``` ### Parameters * `id` (int64): Required - Project ID. --- ## Update Project ``` project = Files::Project.find(id) project.update( global_access: "global_access" ) ``` ### Parameters * `id` (int64): Required - Project ID. * `global_access` (string): Required - Global permissions. Can be: `none`, `anyone_with_read`, `anyone_with_full`. --- ## Delete Project ``` project = Files::Project.find(id) project.delete ``` ### Parameters * `id` (int64): Required - Project ID.
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
files.com-1.1.108 | docs/project.md |
files.com-1.1.107 | docs/project.md |
files.com-1.1.106 | docs/project.md |
files.com-1.1.105 | docs/project.md |
files.com-1.1.104 | docs/project.md |