Add HTTP method to API docs.