Admin

Point companies and programs at their self-hosted logos and photos

One SeedMediaFile (packages/db/seed/media/<frontier>.json). Sets companies.logo_url and programs.image_url to the listed files; ship the files with the web app first. Unknown companies/programs are reported in missing.

put/v1/admin/media

Request

  • Base URL: http://api.technooptimist.io
  • URL: http://api.technooptimist.io/v1/admin/media
  • Auth: HTTP bearer

Headers

x-routine-namestring

Name of the routine making the write; recorded as routine:<name> in the audit log.

Example:news-scan

Request body

logosobject
programsobject
mechanismsobject

Response

Applied

oktrue required
logosinteger required
imagesinteger required
missingstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.