Sha256: 2d443a44f8256ecd3bce4c094b580d66ff58ec2a8b9ee2d5babb40e5c25f9a19
Contents?: true
Size: 1.71 KB
Versions: 99
Compression:
Stored size: 1.71 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( per_page: 1 ) ``` ### Parameters * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header. * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended). --- ## 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.list.first 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.list.first project.delete ``` ### Parameters * `id` (int64): Required - Project ID.
Version data entries
99 entries across 99 versions & 1 rubygems