partner-admin

Upload the partner's logo shown on the consent screen

The logo is hosted by RxFood. A partner-hosted URL is deliberately not accepted: an <img> on the consent page pointing at the partner would leak the patient's IP, user agent and viewing time before consent.

post/admin/partners/{partner_id}/oauth-clients/{client_pk}/logo

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/admin/partners/{partner_id}/oauth-clients/{client_pk}/logo
  • Auth
    HTTP bearer

Path parameters

partner_idinteger required
client_pkinteger required

Request body multipart/form-data

filestring binary

Response

Logo stored

active_grant_countinteger
allow_refresh_tokenboolean
allowed_scopesstring[]
client_idstring
client_secretstring

Returned once, at creation and at rotation only

client_typestring
created_timestring date-time nullable
display_namestring
has_logoboolean

Whether an RxFood-hosted logo has been uploaded

has_secretboolean
homepage_urlstring nullable
idinteger
is_activeboolean
partner_idinteger
previous_secret_expires_atstring date-time nullable

When the superseded secret stops being accepted

privacy_policy_urlstring nullable
redirect_urisstring[]
require_hospital_membershipboolean
secret_rotated_timestring date-time nullable
updated_timestring date-time nullable

Changes

No recorded changes to this operation across all 19 revisions of this API.