edge_stacks
Create an EdgeStack from a git repository
Access policy: administrator
post/edge_stacks/create/repository
Query parameters
dryrunstring
if true, will not create an edge stack, but just will check the settings and return a non-persisted edge stack object
Request body
Example request
{
"EdgeGroups": [
1
],
"FilePathInRepository": "docker-compose.yml",
"Name": "stack-name",
"RepositoryAuthentication": true,
"RepositoryPassword": "myGitPassword",
"RepositoryReferenceName": "refs/heads/master",
"RepositoryURL": "https://github.com/openfaas/faas",
"RepositoryUsername": "myGitUsername",
"SourceID": 1
}Response
OK
Example response
{
"CreatedBy": "admin",
"CreatedByUserId": "1",
"Id": 1
}