Sha256: 800298d2bfcae15448d45c9da5a8e23af810b5cba6a07d4f176481b9d367fd52

Contents?: true

Size: 1.36 KB

Versions: 24

Compression:

Stored size: 1.36 KB

Contents

# UserRequest

## Example UserRequest Object

```
{
  "name": "John Doe",
  "email": "john.doe@files.com",
  "details": "Changed Departments"
}
```

* `name` (string): User's full name
* `email` (email): User email address
* `details` (string): Details of the user's request


---

## List User Requests

```
Files::UserRequest.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 User Request

```
Files::UserRequest.find(id)
```

### Parameters

* `id` (int64): Required - User Request ID.


---

## Create User Request

```
Files::UserRequest.create(
  name: "name", 
  email: "email", 
  details: "details"
)
```

### Parameters

* `name` (string): Required - Name of user requested
* `email` (string): Required - Email of user requested
* `details` (string): Required - Details of the user request


---

## Delete User Request

```
Files::UserRequest.delete(id)
```

### Parameters

* `id` (int64): Required - User Request ID.


---

## Delete User Request

```
user_request = Files::UserRequest.list_for(path).first

user_request.delete
```

### Parameters

* `id` (int64): Required - User Request ID.

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
files.com-1.0.102 docs/user_request.md
files.com-1.0.101 docs/user_request.md
files.com-1.0.100 docs/user_request.md
files.com-1.0.99 docs/user_request.md
files.com-1.0.98 docs/user_request.md
files.com-1.0.97 docs/user_request.md
files.com-1.0.96 docs/user_request.md
files.com-1.0.95 docs/user_request.md
files.com-1.0.94 docs/user_request.md
files.com-1.0.93 docs/user_request.md
files.com-1.0.92 docs/user_request.md
files.com-1.0.91 docs/user_request.md
files.com-1.0.90 docs/user_request.md
files.com-1.0.89 docs/user_request.md
files.com-1.0.88 docs/user_request.md
files.com-1.0.87 docs/user_request.md
files.com-1.0.86 docs/user_request.md
files.com-1.0.85 docs/user_request.md
files.com-1.0.84 docs/user_request.md
files.com-1.0.83 docs/user_request.md