Graphon Engine

Create access rule

POST/namespaces/{namespace}/collections/{collection}/access-rules

Create or replace the rule on one folder or file. 201: a new rule with no files under it. 200: a change of readers only, which applies on the next request. 202: the rule and an apply_access_rule job; the files under the target stay hidden until it succeeds.

View as Markdown

Authentication

This call requires a key. Samples use $GRAPHON_ENGINE_API_KEY.

See Authentication.

Path parameters

namespace

string

No description provided.

collection

string

No description provided.

Request body

file

string

No description provided.

folder

string

No description provided.

readers

array of string

No description provided.

sealed

boolean

No description provided.

Responses

  • 200
  • 201
  • 202
  • 400
  • 401
  • 403
  • 404
  • 409
  • 413
  • 500
  • 503
Was this page helpful?