Organizations

Upload an organization avatar

Stores a bounded raster avatar for an organization. Requires authenticated authority and enforces current resource policy.

put/api/orgs/{slug}/avatar

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required

Query parameters

expectedVersioninteger required

Response

Response for status 200

displayNamestring nullable required
avatarUrlstring nullable required
biostring nullable required
locationstring nullable required
companystring nullable required
websiteUrlstring nullable required
idstring required
versioninteger required
basePermission'none' | 'read' | 'write' required
allowForkingboolean required

Changes

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