Skip to content

Commit

Permalink
feat(blogger): update the API
Browse files Browse the repository at this point in the history
#### blogger:v2
The following keys were changed:
- description
- schemas.BlogPerUserInfo.properties.role.description
- schemas.Page.properties.title.description

#### blogger:v3
The following keys were added:
- resources.blogs.methods.get.parameters.view.enumDescriptions
- resources.blogs.methods.getByUrl.parameters.view.enumDescriptions
- resources.blogs.methods.listByUser.parameters.role.enumDescriptions
- resources.blogs.methods.listByUser.parameters.status.enumDescriptions
- resources.blogs.methods.listByUser.parameters.view.enumDescriptions
- resources.comments.methods.get.parameters.view.enumDescriptions
- resources.comments.methods.list.parameters.status.enumDescriptions
- resources.comments.methods.list.parameters.view.enumDescriptions
- resources.comments.methods.listByBlog.parameters.status.enumDescriptions
- resources.pageViews.methods.get.parameters.range.enumDescriptions
- resources.pages.methods.get.parameters.view.enumDescriptions
- resources.pages.methods.list.parameters.status.enumDescriptions
- resources.pages.methods.list.parameters.view.enumDescriptions
- resources.postUserInfos.methods.list.parameters.orderBy.enumDescriptions
- resources.postUserInfos.methods.list.parameters.status.enumDescriptions
- resources.postUserInfos.methods.list.parameters.view.enumDescriptions
- resources.posts.methods.get.parameters.view.enumDescriptions
- resources.posts.methods.getByPath.parameters.view.enumDescriptions
- resources.posts.methods.list.parameters.orderBy.enumDescriptions
- resources.posts.methods.list.parameters.status.enumDescriptions
- resources.posts.methods.list.parameters.view.enumDescriptions
- resources.posts.methods.search.parameters.orderBy.enumDescriptions

The following keys were changed:
- description
- schemas.BlogPerUserInfo.properties.role.description
- schemas.Page.properties.title.description
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 3, 2020
1 parent ddbaa9c commit ee9878d
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 10 deletions.
8 changes: 4 additions & 4 deletions discovery/blogger-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"baseUrl": "https://blogger.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Blogger",
"description": "The Blogger API provides access to posts, comments and pages of a\n Blogger blog.",
"description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started",
"fullyEncodeReservedExpansion": true,
Expand Down Expand Up @@ -401,7 +401,7 @@
}
}
},
"revision": "20200512",
"revision": "20200801",
"rootUrl": "https://blogger.googleapis.com/",
"schemas": {
"Blog": {
Expand Down Expand Up @@ -557,7 +557,7 @@
"type": "string"
},
"role": {
"description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or\nREADER).",
"description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).",
"enum": [
"VIEW_TYPE_UNSPECIFIED",
"READER",
Expand Down Expand Up @@ -808,7 +808,7 @@
"type": "string"
},
"title": {
"description": "The title of this entity. This is the name displayed in the Admin user\ninterface.",
"description": "The title of this entity. This is the name displayed in the Admin user interface.",
"type": "string"
},
"updated": {
Expand Down
130 changes: 126 additions & 4 deletions discovery/blogger-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"baseUrl": "https://blogger.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Blogger",
"description": "The Blogger API provides access to posts, comments and pages of a\n Blogger blog.",
"description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started",
"fullyEncodeReservedExpansion": true,
Expand Down Expand Up @@ -175,6 +175,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -209,6 +215,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -242,6 +254,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"repeated": true,
"type": "string"
Expand All @@ -252,6 +270,10 @@
"LIVE",
"DELETED"
],
"enumDescriptions": [
"",
""
],
"location": "query",
"repeated": true,
"type": "string"
Expand All @@ -268,6 +290,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -385,6 +413,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -446,6 +480,12 @@
"PENDING",
"SPAM"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
},
Expand All @@ -456,6 +496,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -511,6 +557,12 @@
"PENDING",
"SPAM"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"repeated": true,
"type": "string"
Expand Down Expand Up @@ -619,6 +671,11 @@
"30DAYS",
"7DAYS"
],
"enumDescriptions": [
"",
"",
""
],
"location": "query",
"repeated": true,
"type": "string"
Expand Down Expand Up @@ -689,6 +746,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -764,6 +827,10 @@
"LIVE",
"DRAFT"
],
"enumDescriptions": [
"",
""
],
"location": "query",
"repeated": true,
"type": "string"
Expand All @@ -775,6 +842,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -1011,6 +1084,11 @@
"PUBLISHED",
"UPDATED"
],
"enumDescriptions": [
"",
"",
""
],
"location": "query",
"type": "string"
},
Expand All @@ -1028,6 +1106,11 @@
"DRAFT",
"SCHEDULED"
],
"enumDescriptions": [
"",
"",
""
],
"location": "query",
"repeated": true,
"type": "string"
Expand All @@ -1044,6 +1127,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -1128,6 +1217,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -1173,6 +1268,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -1268,6 +1369,11 @@
"PUBLISHED",
"UPDATED"
],
"enumDescriptions": [
"",
"",
""
],
"location": "query",
"type": "string"
},
Expand All @@ -1285,6 +1391,11 @@
"DRAFT",
"SCHEDULED"
],
"enumDescriptions": [
"",
"",
""
],
"location": "query",
"repeated": true,
"type": "string"
Expand All @@ -1296,6 +1407,12 @@
"AUTHOR",
"ADMIN"
],
"enumDescriptions": [
"",
"",
"",
""
],
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -1452,6 +1569,11 @@
"PUBLISHED",
"UPDATED"
],
"enumDescriptions": [
"",
"",
""
],
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1555,7 +1677,7 @@
}
}
},
"revision": "20200711",
"revision": "20200801",
"rootUrl": "https://blogger.googleapis.com/",
"schemas": {
"Blog": {
Expand Down Expand Up @@ -1711,7 +1833,7 @@
"type": "string"
},
"role": {
"description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or\nREADER).",
"description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).",
"enum": [
"VIEW_TYPE_UNSPECIFIED",
"READER",
Expand Down Expand Up @@ -1962,7 +2084,7 @@
"type": "string"
},
"title": {
"description": "The title of this entity. This is the name displayed in the Admin user\ninterface.",
"description": "The title of this entity. This is the name displayed in the Admin user interface.",
"type": "string"
},
"updated": {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/blogger/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export namespace blogger_v2 {
/**
* Blogger API v3
*
* The Blogger API provides access to posts, comments and pages of a Blogger blog.
* The Blogger API provides access to posts, comments and pages of a Blogger blog.
*
* @example
* const {google} = require('googleapis');
Expand Down
2 changes: 1 addition & 1 deletion src/apis/blogger/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export namespace blogger_v3 {
/**
* Blogger API v3
*
* The Blogger API provides access to posts, comments and pages of a Blogger blog.
* The Blogger API provides access to posts, comments and pages of a Blogger blog.
*
* @example
* const {google} = require('googleapis');
Expand Down

0 comments on commit ee9878d

Please sign in to comment.