# Resources

Type: Resources

(Authorization) Resources containing one ResourceEntry for each
`type:path` key, `type` being one of the following `thing`, `policy`, `message`.

Schema: [Resources](https://sourcey-ditto.pages.dev/http-api-doc/models/resources.md)

Example:

```json
{
  "thing:/": {
    "grant": [
      "READ",
      "WRITE"
    ],
    "revoke": null
  },
  "thing:/attributes/some/path": {
    "grant": null,
    "revoke": [
      "READ"
    ]
  },
  "policy:/": {
    "grant": [
      "READ",
      "WRITE"
    ],
    "revoke": null
  },
  "message:/": {
    "grant": [
      "READ",
      "WRITE"
    ],
    "revoke": null
  }
}
```

Additional properties: 
  Reference: [ResourceEntry](https://sourcey-ditto.pages.dev/http-api-doc/models/resourceentry.md); Type: ResourceEntry
  
  Single (Authorization) Resource entry defining permissions per effect.
  Allowed effects are `grant` and `revoke`.