Implement a web API for managing blog posts and photos #14
	
		Labels
		
	
	
	
	
	
		No milestone
		
			
		
	
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		1 participant
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
		Reference: eryn/erynwells.me#14
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
 
		
I'd like to be able to write and manage posts and photos from an app on my phone. To do this I'll need a web API that interacts with this git repo.
My convention for posts so far has been to create a topic branch per post. Once I'm ready to publish, I set
draft = falseand merge the branch tomain. Then, I deploy the site.The API can query for branches matching a particular name and return them as a list of draft posts.
Deleting a post draft is easy enough to do by just deleting the branch.