1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-12-25 15:21:16 +00:00
nginx-sso/vendor/google.golang.org/api/google-api-go-generator/testdata/param-rename.json
Knut Ahlers 9b3c895c04
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:44:07 +02:00

94 lines
2.3 KiB
JSON

{
"kind": "discovery#restDescription",
"etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
"discoveryVersion": "v1",
"id": "paramrename:v1",
"name": "paramrename",
"version": "v1",
"title": "Example API",
"description": "The Example API demonstrates parameter renaming.",
"ownerDomain": "google.com",
"ownerName": "Google",
"protocol": "rest",
"schemas": {
"Event": {
"id": "Event",
"type": "string"
},
"ResultTable": {
"id": "ResultTable",
"type": "string"
}
},
"resources": {
"events": {
"methods": {
"move": {
"id": "calendar.events.move",
"path": "calendars/{calendarId}/events/{eventId}/move",
"httpMethod": "POST",
"description": "Moves an event to another calendar, i.e. changes an event's organizer.",
"parameters": {
"destination": {
"type": "string",
"description": "Calendar identifier of the target calendar where the event is to be moved to.",
"required": true,
"location": "query"
},
"source-param": {
"type": "string",
"description": "Some parameter.",
"required": false,
"location": "query"
},
"right-string": {
"type": "string",
"description": "Yet another parameter.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"destination",
"right-string"
],
"response": {
"$ref": "Event"
},
"scopes": [
"https://www.googleapis.com/auth/calendar"
]
}
}
},
"reports": {
"methods": {
"query": {
"id": "youtubeAnalytics.reports.query",
"path": "reports",
"httpMethod": "GET",
"description": "Retrieve your YouTube Analytics reports.",
"parameters": {
"start-date": {
"type": "string",
"description": "The start date for fetching YouTube Analytics data. The value should be in YYYY-MM-DD format.",
"required": true,
"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}",
"location": "query"
}
},
"parameterOrder": [
"start-date"
],
"response": {
"$ref": "ResultTable"
},
"scopes": [
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
]
}
}
}
}
}