Forum Discussion

kretzm's avatar
kretzm
Guide
10 years ago

Scheduling a Blog post

Hi there,

 

I was wondering if it was possible via the API to schedule a blog post to publish at a later date. 

 

Thanks

4 Replies

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    10 years ago

    Hi kretzm 

     

    I don't think that is possible directly (i.e. post a new blog with a publish date in the future). What you could do instead is to post a message using the message.is_draft flag to true (so it's a draft and not published), and later on update that same post to remove the draft status so it gets published.  Not the same thing but may be still useful depending on your use case.

     

    http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?leaf-id=Blog.messages.post#Blog.messages.post

     

    Thanks,

  • I thought this was built into the blog area? 

     

    Screen Shot 2015-01-16 at 11.21.23 AM.png

     

    Maybe it was changed in a recent update?

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    10 years ago

    Hi Quelyn 

     

    as you noticed - this feature is indeed available in our standard UI, however it is not available via API (or at least, not to my knowledge).

     

    Thanks,