Admin API / Types

MediaFileUrlRefusal

Enum

Why an input cannot use a District files image URL. Additional values may be added; clients must handle values they do not recognize.

enum MediaFileUrlRefusal

Values

  • MEDIA_FILE_NOT_PUBLIC: The file is not public now, or the URL is not its public URL, for example a signed URL. Make the file public and send the public URL.
  • MEDIA_NOT_A_DISTRICT_FILE: The URL is not on the District files image host of this environment.

Returned by