rest test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Sebastian Frank 2019-03-04 17:15:37 +01:00
parent aa6ade5657
commit 6c59e6684f
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3

108
test.rest
View File

@ -5,101 +5,21 @@ GET https://mark2web.basiscms.de/api/collections/get/mark2webBlog
###
POST https://ci.basehosts.de/hook?secret=PaqXhk1R1imq67wpNQL2BAHuNUJj9kEd
Content-Type: application/json
X-GitHub-Delivery: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
X-GitHub-Event: push
X-Gitea-Delivery: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
X-Gitea-Event: push
X-Gogs-Delivery: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
X-Gogs-Event: push
{
"secret": "PaqXhk1R1imq67wpNQL2BAHuNUJj9kEd",
"ref": "refs/heads/master",
"before": "HEAD",
"after": "HEAD",
"commits": [
{
"id": "8e849014654a4d1c6d78a9aa69e1c64df2e043df",
"message": "fixed run, if templates/filters is missing\n",
"url": "https://gitbase.de/apairon/mark2web/commit/8e849014654a4d1c6d78a9aa69e1c64df2e043df",
"author": {
"name": "Sebastian Frank",
"email": "frank@basiskonfiguration.de",
"username": ""
},
"committer": {
"name": "Sebastian Frank",
"email": "frank@basiskonfiguration.de",
"username": ""
},
"verification": null,
"timestamp": "0001-01-01T00:00:00Z"
}
],
"repository": {
"id": 59,
"owner": {
"id": 1,
"login": "apairon",
"full_name": "Sebastian Frank",
"email": "frank@basiskonfiguration.de",
"avatar_url": "https://gitbase.de/avatars/a65ee0f49a3861e31212c474d625a073",
"language": "de-DE",
"username": "apairon"
},
"name": "mark2web",
"full_name": "apairon/mark2web",
"description": "mark2web Website-Generator",
"empty": false,
"private": false,
"fork": false,
"parent": null,
"mirror": false,
"size": 3743,
"html_url": "https://gitbase.de/apairon/mark2web",
"ssh_url": "ssh://git@gitbase.de:2222/apairon/mark2web.git",
"clone_url": "https://gitbase.de/apairon/mark2web.git",
"website": "https://www.mark2web.de",
"stars_count": 1,
"forks_count": 0,
"watchers_count": 1,
"open_issues_count": 7,
"default_branch": "master",
"archived": false,
"created_at": "2019-02-10T11:40:58+01:00",
"updated_at": "2019-02-28T18:41:26+01:00",
"permissions": {
"admin": false,
"push": false,
"pull": false
}
},
"pusher": {
"id": 1,
"login": "apairon",
"full_name": "Sebastian Frank",
"email": "frank@basiskonfiguration.de",
"avatar_url": "https://gitbase.de/avatars/a65ee0f49a3861e31212c474d625a073",
"language": "de-DE",
"username": "apairon"
},
"sender": {
"id": 1,
"login": "apairon",
"full_name": "Sebastian Frank",
"email": "frank@basiskonfiguration.de",
"avatar_url": "https://gitbase.de/avatars/a65ee0f49a3861e31212c474d625a073",
"language": "de-DE",
"username": "apairon"
}
}
###
GET https://mark2web.basiscms.de/api/imagestyles/style/klein?src=/vhosts/mark2web.basiscms.de/uploads/2019/02/27/5c767a7f3dec9computer-3368242_1920.jpg&output=1&token=89ff216524093123bf7a0a10f7b273
GET https://mark2web.basiscms.de/api/imagestyles/style/klein
?src=/vhosts/mark2web.basiscms.de/uploads/2019/02/27/5c767a7f3dec9computer-3368242_1920.jpg
&output=1
&token=89ff216524093123bf7a0a10f7b273
###
GET https://mark2web.basiscms.de/api/imagestyles/style
###
GET https://ci.basehosts.de/api/repos/apairon/mark2web/builds
Authorization: Bearer UIB2atxAslmlQoDLeM6263tQVOsXwvv6
###
POST https://ci.basehosts.de/api/repos/apairon/mark2web/builds/63/promote?target=website
Authorization: Bearer UIB2atxAslmlQoDLeM6263tQVOsXwvv6