Get a login for the converter image
A 12-hour docker login for the gamma-parser image, which the organization's own workers run: docker login <registry> -u AWS with password, then docker pull <image>:<version>. Docker talks to the registry, not to this server. Through an API key, the key needs converter:read. The organization gets the same login back while it has more than an hour left, whoever asks; then a new one. Refused with 503 when this server does not hand the image out.
Who may call it: An owner or security admin of the organization. API keys: yes.
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
OK.
application/json- response
A short-lived docker login for the gamma-parser image, which the organization's own workers run.
registry*stringWhere to docker login: the image's registry host.
image*stringWhat to docker pull, followed by :<version>.
username*stringpassword*stringThe login's password; shown to nobody else.
expiresAt*stringWhen the login stops working: 12 hours on.
date-timecurl -X GET 'http://localhost:3000/api/organizations/string/registry-token'{ "registry": "string", "image": "string", "username": "AWS", "password": "string", "expiresAt": "2019-08-24T14:15:22Z"}