Sha256: 9912c8412ea41de5e73153dae799f3cf77dbac3fcaefea067b71d31a68343d7b

Contents?: true

Size: 1.64 KB

Versions: 44

Compression:

Stored size: 1.64 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(
  page: 1, 
  per_page: 1
)
```

### Parameters

* `page` (int64): Current page number.
* `per_page` (int64): Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.


---

## 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(1)
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(1)
project.delete
```

### Parameters

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

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
files.com-1.0.60 docs/project.md
files.com-1.0.59 docs/project.md
files.com-1.0.58 docs/project.md
files.com-1.0.57 docs/project.md
files.com-1.0.56 docs/project.md
files.com-1.0.55 docs/project.md
files.com-1.0.54 docs/project.md
files.com-1.0.53 docs/project.md
files.com-1.0.52 docs/project.md
files.com-1.0.51 docs/project.md
files.com-1.0.50 docs/project.md
files.com-1.0.49 docs/project.md
files.com-1.0.48 docs/project.md
files.com-1.0.47 docs/project.md
files.com-1.0.46 docs/project.md
files.com-1.0.45 docs/project.md
files.com-1.0.44 docs/project.md
files.com-1.0.43 docs/project.md
files.com-1.0.42 docs/project.md
files.com-1.0.41 docs/project.md