Get Git Hub Repository Files
API to get all of the files for a particular repository. This is the follow up API to getGitHubRepositores.
Request
URI
GET
https://apigw.vmware.com/sampleExchange/v1/authors/{federationId}/gitHubRepositories/{githubUser}/{repository}/files
COPY
Path Parameters
string
federationId
Required
federationId
string
githubUser
Required
githubUser
string
repository
Required
repository
Query Parameters
string
branch
Optional
branch
Responses
200
successful operation
Returns
Array of
FileInfo
of type(s)
application/json
[
{
"id": 0,
"name": "string",
"mode": "string",
"type": "string",
"sha": "string",
"path": "string",
"size": 0,
"url": "string",
"content": "string"
}
]
400
Bad Request, a Github token is required for this operation.
Operation doesn't return any data structure
401
Unauthorized, credentials not supplied or incorrect.
Operation doesn't return any data structure
404
Author not found.
Operation doesn't return any data structure