Import Meme Format
Bring a result from GET /meme-formats into the workspace as a
template, with its credit, as the composer does. The result is
checked again as memegen.link’s own answer was (an https picture, 1
to 3 captions), so one altered on the way back that no longer makes
a usable background is 422. Left out of the library unless
curate is true (a key’s, or the session of an app admin of
Memegen). A new one is 201; the same format again is the template
already there, 200, and one an app admin archived comes back only
for a key or an app admin’s session (403 admin_required for anybody else’s).
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
true adds it to the library everyone picks from, which only a key
or the session of an app admin of Memegen may do (403 admin_required otherwise). Left out or false, it is a background
for one meme, which anybody but a Viewer of Memegen may add, and
stays out of the picker.
Response
Out of the picker. Memes already made from it keep rendering, which
is why a template is archived rather than deleted, but no new meme
can be made from it. Only an app admin of Memegen, or a key, brings one back:
archived: false on PATCH, or adding its picture again with
POST /meme-templates, /meme-templates/from-url or
/meme-templates/import, which restores it. Anybody else who adds
the same picture again is refused (“An admin removed this
template.”) and it stays archived.
The background, an http or https address. Absent on a built-in, which the app draws itself.