Sha256: 912924d6fb98b723ce1d4c7155135c3938217c7c6bfc08c0a55a303b71e27c07

Contents?: true

Size: 1.85 KB

Versions: 235

Compression:

Stored size: 1.85 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.  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).


---

## 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

235 entries across 235 versions & 1 rubygems

Version Path
files.com-1.1.46 docs/project.md
files.com-1.1.45 docs/project.md
files.com-1.1.44 docs/project.md
files.com-1.1.43 docs/project.md
files.com-1.1.42 docs/project.md
files.com-1.1.41 docs/project.md
files.com-1.1.40 docs/project.md
files.com-1.1.39 docs/project.md
files.com-1.1.38 docs/project.md
files.com-1.1.37 docs/project.md
files.com-1.1.36 docs/project.md
files.com-1.1.35 docs/project.md
files.com-1.1.34 docs/project.md
files.com-1.1.33 docs/project.md
files.com-1.1.32 docs/project.md
files.com-1.1.31 docs/project.md
files.com-1.1.30 docs/project.md
files.com-1.1.29 docs/project.md
files.com-1.1.28 docs/project.md
files.com-1.1.27 docs/project.md