Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merge-on-date: (TBA)] Add container log APIs to WebApps.json #1681

Merged
merged 5 commits into from
Dec 8, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix container log APIs
  • Loading branch information
michimune committed Oct 29, 2017
commit 874a8a6a769bbeff81778481ee9512858cb173ad
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@
"description": "Gets the last lines of docker logs for the given site",
"operationId": "WebApps_GetWebSiteContainerLogs",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And maybe here too?

 "produces": [
     "application/zip"
  ],

(and for the other APIs too...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this one - get application/json for content type, which probably requires a server-side fix and the response should be byte.

"produces": [
"text/plain"
"application/octet-stream"
],
"parameters": [
{
Expand All @@ -1756,7 +1756,7 @@
"200": {
"description": "OK",
"schema": {
"type": "byte"
"type": "file"
}
}
}
Expand Down Expand Up @@ -1798,7 +1798,7 @@
"200": {
"description": "OK",
"schema": {
"type": "byte"
"type": "file"
}
}
}
Expand Down Expand Up @@ -7622,7 +7622,7 @@
"description": "Gets the last lines of docker logs for the given site",
"operationId": "WebApps_GetWebSiteContainerLogsSlot",
"produces": [
"text/plain"
"application/octet-stream"
],
"parameters": [
{
Expand Down Expand Up @@ -7656,7 +7656,7 @@
"200": {
"description": "OK",
"schema": {
"type": "byte"
"type": "file"
}
}
}
Expand Down Expand Up @@ -7705,7 +7705,7 @@
"200": {
"description": "OK",
"schema": {
"type": "byte"
"type": "file"
}
}
}
Expand Down