staff

Get a blank staff file

Changed on

Returns an unsaved, empty staff file record. Requires staff-level access.

get/staff/files/new.json

Request

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

Response

An unsaved staff file; all fields are null

idinteger required

The unique ID of the staff file

creator_idinteger required

The ID of the user who uploaded the file

storage_idstring required

The random identifier the file is stored under

md5string required

The MD5 hash of the file contents

file_extstring required

The file extension, lowercased, with jpeg normalized to jpg

file_sizeinteger required

The size of the file in bytes

original_filenamestring required

The filename the file was uploaded under

titlestring nullable

The display title, defaulting to the original filename

descriptionstring nullable

A free-text description of the file

created_atstring date-time required

When the file was uploaded

updated_atstring date-time required

When the file record was last updated

Changes