Sha256: d6704a2dca07e715cc1f30bf1e6545a86a34ee7b5ff4b9be08612a60272992dd

Contents?: true

Size: 1.69 KB

Versions: 91

Compression:

Stored size: 1.69 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_for(path).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_for(path).first

project.delete
```

### Parameters

* `id` (int64): Required - Project ID.

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
files.com-1.0.212 docs/project.md
files.com-1.0.211 docs/project.md
files.com-1.0.210 docs/project.md
files.com-1.0.209 docs/project.md
files.com-1.0.208 docs/project.md
files.com-1.0.207 docs/project.md
files.com-1.0.206 docs/project.md
files.com-1.0.205 docs/project.md
files.com-1.0.204 docs/project.md
files.com-1.0.203 docs/project.md
files.com-1.0.202 docs/project.md
files.com-1.0.201 docs/project.md
files.com-1.0.200 docs/project.md
files.com-1.0.199 docs/project.md
files.com-1.0.198 docs/project.md
files.com-1.0.197 docs/project.md
files.com-1.0.196 docs/project.md
files.com-1.0.195 docs/project.md
files.com-1.0.194 docs/project.md
files.com-1.0.193 docs/project.md