public Post blogPost ( String blogName , Long postId ) { HashMap < String , String > options = new HashMap < String , String > ( ) ; options . put ( "id" , postId . toString ( ) ) ; List < Post > posts = this . blogPosts ( blogName , options ) ; return posts . size ( ) > 0 ? posts . get ( 0 ) : null ; }
Get an individual post by id