upload_whitelists

Create an upload whitelist entry

Changed on

Creates a new upload whitelist entry.

post/upload_whitelists.json

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/upload_whitelists.json
  • Auth: one of:
    • none
    • HTTP basic
    • API key in query parameter login and API key in query parameter api_key

Request body

upload_whitelist[allowed]boolean

Whether uploads from this domain are allowed

upload_whitelist[domain]string

The domain pattern

upload_whitelist[path]string

The path pattern

upload_whitelist[reason]string

The reason for the whitelist entry

upload_whitelist[note]string

Note about the whitelist entry

upload_whitelist[hidden]boolean

Whether the entry is hidden

Response

The created upload whitelist entry

idinteger required

The unique ID of the whitelist entry

domainstring

The domain pattern

pathstring

The path pattern

notestring nullable

Note about the whitelist entry

reasonstring nullable

The reason for the entry

allowedboolean required

Whether uploads from this domain are allowed

hiddenboolean

Whether the entry is hidden

created_atstring date-time required

When the entry was created

updated_atstring date-time required

When the entry was last updated

Changes