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

Support publishing blog posts via the API #4

Open
4 tasks
oubiwann opened this issue Feb 14, 2019 · 3 comments
Open
4 tasks

Support publishing blog posts via the API #4

oubiwann opened this issue Feb 14, 2019 · 3 comments
Labels
Milestone

Comments

@oubiwann
Copy link
Member

oubiwann commented Feb 14, 2019

Tasks:

@oubiwann oubiwann added this to the 0.3.0 milestone Feb 14, 2019
@oubiwann
Copy link
Member Author

Full post resource data structure:

{
  "kind": "blogger#post",
  "id": string,
  "blog": {
    "id": string
  },
  "published": datetime,
  "updated": datetime,
  "url": string,
  "selfLink": string,
  "title": string,
  "titleLink": string,
  "content": string,
  "images": [
    {
      "url": string
    }
  ],
  "customMetaData": string,
  "author": {
    "id": string,
    "displayName": string,
    "url": string,
    "image": {
      "url": string
    }
  },
  "replies": {
    "totalItems": long,
    "selfLink": string,
    "items": [
      comments Resource
    ]
  },
  "labels": [
    string
  ],
  "location": {
    "name": string,
    "lat": double,
    "lng": double,
    "span": string
  },
  "status": string
}

@oubiwann
Copy link
Member Author

Obviously, we won't need replies in the post ...

@oubiwann
Copy link
Member Author

Sadly, this is not doable with service-based creds; this will require reworking things to use oauth2 (total PITA).

Might be worth it to offer service-based for read-only ops, and oauth2 for write opts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant