Use proper language for syntax highlighting in api/

@neumino can you please review and merge?