Wiki

Check whether the caller can upload a wiki for a repository

Changed on
get/api/v0/wiki/upload-access

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Query parameters

repoUrl, string required

Repository URL that will be passed to POST /api/v0/wiki

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

GetWikiUploadAccess200ResponseBody required
allowed, true required

Changes

    • info

      added the non-success response with the status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property detail from the response with the status

    24 more changes in this revision