Skip to content

Commit

Permalink
Fix RAML syntax in api.raml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Maretskiy committed Dec 7, 2016
1 parent 81bcea5 commit 2e55281
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions raml/api.raml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Portal API - DRAFT!!!
version: v1
mediaType: application/json
/api/
/api/:
get:
description: "List of available versions"
responses:
Expand All @@ -25,7 +25,7 @@ mediaType: application/json

/regions/detailed:
get:
description: Detailed information about regions.
description: "Detailed information about regions."
responses:
200:
body:
Expand All @@ -34,18 +34,18 @@ mediaType: application/json
example: !include response_examples/200/regions_detailed.json

/region/{region}:
uriParametrs:
uriParameters:
region:
description: Region name which is region identifier
description: "Region name which is region identifier"
type: string

/status/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Overview of region's services status
description: "Overview of region's services status"
responses:
200:
body:
Expand All @@ -59,12 +59,12 @@ mediaType: application/json
example: !include response_examples/404/region.json

/status/health/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Region health data aggregated per service
description: "Region health data aggregated per service"
responses:
200:
body:
Expand All @@ -78,12 +78,12 @@ mediaType: application/json
example: !include response_examples/404/region.json

/status/availability/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Region availability data aggregated per service
description: "Region availability data aggregated per service"
responses:
200:
body:
Expand All @@ -97,12 +97,12 @@ mediaType: application/json
example: !include response_examples/404/region.json

/status/performance/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Region performance data aggregated per service
description: "Region performance data aggregated per service"
responses:
200:
body:
Expand All @@ -117,7 +117,7 @@ mediaType: application/json

/infra:
get:
description: Information about region's infrastructure services
description: "Information about region's infrastructure services"
responses:
200:
body:
Expand All @@ -131,12 +131,12 @@ mediaType: application/json
example: !include response_examples/404/region.json

/status/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Overview data aggregated per region
description: "Overview data aggregated per region"
responses:
200:
body:
Expand All @@ -145,12 +145,12 @@ mediaType: application/json
example: !include response_examples/200/status.json

/status/health/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Health data aggregated per region
description: "Health data aggregated per region"
responses:
200:
body:
Expand All @@ -160,12 +160,12 @@ mediaType: application/json


/status/availability/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Availability data aggregated per region
description: "Availability data aggregated per region"
responses:
200:
body:
Expand All @@ -175,12 +175,12 @@ mediaType: application/json


/status/performance/{period}:
uriParametrs:
uriParameters:
period:
description: Return data for specific period: day, week, month
description: "Return data for specific period: day, week, month"
type: string
get:
description: Performance data aggregated per region
description: "Performance data aggregated per region"
responses:
200:
body:
Expand Down

0 comments on commit 2e55281

Please sign in to comment.