Created
January 22, 2016 16:30
-
-
Save sebastianhenneberg/49d516a19838b60463cf to your computer and use it in GitHub Desktop.
Example API with RAML Step 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 1.0 | |
title: Example API | |
protocols: HTTPS | |
version: v1 | |
baseUri: https://example.com/api/{version} | |
mediaType: application/json | |
securitySchemes: | |
oauth1: | |
type: OAuth 1.0 | |
settings: | |
requestTokenUri: https://example.com/oauth1/request_token | |
authorizationUri: https://example.com/oauth1/authorize | |
tokenCredentialsUri: https://example.com/oauth1/access_token | |
# types, traits and resourceTypes: | |
/users: | |
securedBy: oauth1 | |
# all operations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment