Sha256: e51f7c2850a2f752e5312564e304d3b87782111504dcb1eb5247fcac60db307f

Contents?: true

Size: 1.67 KB

Versions: 16

Compression:

Stored size: 1.67 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 the X-Files-Cursor-Next 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

16 entries across 16 versions & 1 rubygems

Version Path
files.com-1.0.228 docs/project.md
files.com-1.0.227 docs/project.md
files.com-1.0.226 docs/project.md
files.com-1.0.225 docs/project.md
files.com-1.0.224 docs/project.md
files.com-1.0.223 docs/project.md
files.com-1.0.222 docs/project.md
files.com-1.0.221 docs/project.md
files.com-1.0.220 docs/project.md
files.com-1.0.219 docs/project.md
files.com-1.0.218 docs/project.md
files.com-1.0.217 docs/project.md
files.com-1.0.216 docs/project.md
files.com-1.0.215 docs/project.md
files.com-1.0.214 docs/project.md
files.com-1.0.213 docs/project.md