Stasis
Repositories

Get repository license

Get the license file content for a repository

GET
/api/v1/repos/{owner}/{repo}/license

Path Parameters

owner*string
repo*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/repos/string/string/license"
{
  "license": "string",
  "filename": "string",
  "content": "string"
}