Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
3eb6a94
add definitions, schemas to responses, periods to descriptions, and c…
stevengum Nov 2, 2017
6da9fb1
Refactored operationIds for LUIS Programmatic and Endpoint swagger files
stevengum Nov 7, 2017
045a120
remove apiKeyQuery security definition, remove global security declar…
stevengum Nov 8, 2017
b4320c2
fix typo in operationId for Features_GetPatternFeatureInfo
stevengum Nov 8, 2017
48aed5c
remove unused securityDefinition 'apiKeyQuery' from LUIS Programmatic…
stevengum Nov 8, 2017
040a0fa
clean up LUIS Programmatic APIs Swagger file by creating path-specifi…
stevengum Nov 9, 2017
5eb0abd
LUIS Endpoint - replace nullable properties with semantically correct…
stevengum Nov 10, 2017
bb49a6a
create parameters definitions AppIdInPath, VersionIdInPath for LUIS P…
stevengum Nov 10, 2017
daf7670
create additional parameters definitions for LUIS Programmatic Swagge…
stevengum Nov 11, 2017
71927b8
begin moving 'models' group operations to 'model' group, add response…
stevengum Nov 13, 2017
642f0c5
add defnitions and response schemas to LUIS Programmatic Swagger File
stevengum Nov 14, 2017
9db2e6e
add additional definitions and response schemas to LUIS Programmatic …
stevengum Nov 16, 2017
7bc9cb6
add Error Response definition and use in operations in LUIS Programma…
stevengum Nov 16, 2017
0456dfe
add examples for Model GET operations in LUIS Programmatic Swagger File
stevengum Nov 17, 2017
594f69c
relocate and breakout examples from LUIS Programmatic Swagger File
stevengum Nov 21, 2017
ea38a5a
add x-ms-examples for Apps group for LUIS Programmatic Swagger File
stevengum Nov 21, 2017
834a404
add x-ms-examples for features and model group for LUIS Programmatic …
stevengum Nov 21, 2017
e49896e
add references to examples for LUIS Programmatic Swagger File
stevengum Nov 21, 2017
b1316d3
adjust LUIS Endpoint Swagger File, add x-ms-examples and remove examp…
stevengum Nov 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"appId": "{appId}"
},
"responses": {
"200": {
"headers": {},
"body": "\"Query\",\"UTC DateTime\",\"Response\" \"hello, world!\",01/31/2017 17:17:41,\"{ \"\"query\"\": \"\"Hello, World!\"\", \"\"topScoringIntent\"\": { \"\"intent\"\": \"\"None\"\", \"\"score\"\": 0.6277761 }, \"\"intents\"\": [ { \"\"intent\"\": \"\"None\"\", \"\"score\"\": 0.6277761 }, { \"\"intent\"\": \"\"BookFlight\"\", \"\"score\"\": 0.002136109 }, { \"\"intent\"\": \"\"GetWeather\"\", \"\"score\"\": 0.00142168161 } ], \"\"entities\"\": []}\""
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"200": {
"headers": {},
"body": [
{
"name": "English",
"code": "en-us"
},
{
"name": "Chinese",
"code": "zh-cn"
},
{
"name": "French",
"code": "fr-fr"
},
{
"name": "French Canadian",
"code": "fr-ca"
},
{
"name": "Spanish",
"code": "es-es"
},
{
"name": "Spanish Mexican",
"code": "es-mx"
},
{
"name": "Italian",
"code": "it-it"
},
{
"name": "German",
"code": "de-de"
},
{
"name": "Japanese",
"code": "ja-jp"
},
{
"name": "Brazilian Portuguese",
"code": "pt-br"
},
{
"name": "Korean",
"code": "ko-kr"
},
{
"name": "Dutch",
"code": "nl-nl"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"200": {
"headers": {},
"body": [
"Booking & Reference",
"Business",
"Comics",
"Communication",
"Education",
"Entertainment",
"Finance",
"Food & Nutrition",
"Gaming",
"Health & Fitness",
"Home Automation",
"Media & Video",
"Medical",
"Music & Audio",
"Navigation & Maps",
"News & Magazines",
"Personalization",
"Productivity",
"Real Estate",
"Scheduler",
"Shopping",
"Social Network",
"Sports",
"Telecom",
"Tools",
"Transportation",
"Translation",
"Travel & Local",
"Weather",
"Others"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"appId": "{appId}"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "363187f1-c573-46b3-bc4c-ae01d686e68e",
"name": "MyFirstDummyAp",
"description": "This is my first dummy application",
"culture": "en-us",
"usageScenario": "IoT",
"domain": "Comics",
"versionsCount": 3,
"createdDateTime": "2017-01-31T16:15:54Z",
"endpoints": {
"PRODUCTION": {
"versionId": "0.1",
"isStaging": false,
"endpointUrl": "DummyUrl",
"endpointRegion":"westus",
"assignedEndpointKey": "",
"publishedDateTime": "2017-02-19T17:09:14Z"
}
},
"endpointHitsCount": 0
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"appId": "{appId}"
},
"responses": {
"200": {
"headers": {},
"body": "\"Query\",\"UTC DateTime\",\"Response\" \"hello, world!\",01/31/2017 17:17:41,\"{ \"query\": \"Hello, World!\", \"topScoringIntent\": { \"intent\": \"None\", \"score\": 0.6277761 }, \"intents\": [ { \"intent\": \"None\", \"score\": 0.6277761 }, { \"intent\": \"BookFlight\", \"score\": 0.002136109 }, { \"intent\": \"GetWeather\", \"score\": 0.00142168161 } ], \"entities\": []}\""
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"appId": "{appId}"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "51963bf0-08a1-44b7-9c69-735dbb92ce74",
"public": false
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"200": {
"headers": {},
"body": [
"IoT",
"Bot",
"Mobile Application",
"Other"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"skip": "{skip}",
"take": "{take}"
},
"responses": {
"200": {
"headers": {},
"body": [
{
"id": "363187f1-c573-46b3-bc4c-ae01d686e68e",
"name": "MyFirstDummyApp",
"description": "This is my first dummy application",
"culture": "en-us",
"usageScenario": "IoT",
"domain": "Comics",
"versionsCount": 3,
"createdDateTime": "2017-01-31T16:15:54Z",
"endpoints": {
"PRODUCTION": {
"versionId": "0.1",
"isStaging": false,
"endpointUrl": "DummyUrl",
"assignedEndpointKey": "",
"endpointRegion": "westus",
"publishedDateTime": "2017-02-19T17:09:14Z"
}
},
"endpointHitsCount": 0
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"culture": "{culture}"
},
"responses": {
"200": {
"headers": {},
"body": [
{
"name": "taxi",
"culture": "en-us",
"description": "A custom prebuilt domain for taxi booking",
"examples": "book taxi x on friday at 6 pm, take me to Tinga's from Westin hotel with taxi lux",
"intents": [
{
"name": "book_taxi",
"description": "Requests/Books taxi",
"examples": "book taxi x on friday at 6 pm"
},
{
"name": "cancel_taxi",
"description": "Cancels taxi request",
"examples": "I just called an taxi SUV , please cancel, Cancel my taxi"
}
],
"entities": [
{
"name": "from_place_name",
"description": "Route starting point",
"examples": "find taxi x to take me to 9th street from space needle"
}
]
},
{
"name": "weather",
"culture": "en-us",
"description": "A custom prebuilt domain that gets weather forecast and condition",
"examples": "Show me the weather for this weekend, What's the weather?",
"intents": [
{
"name": "get_forecast",
"description": "Gets weather forecast",
"examples": "What's the weather like tomorrow?"
},
{
"name": "get_condition",
"description": "Gets weather condition",
"examples": "what's the average temperature in India in September?"
}
],
"entities": [
{
"name": "location",
"description": "Location of the queried weather",
"examples": "What's the weather like in Minneapolis"
},
{
"name": "unit",
"description": "Temperature measurement unit",
"examples": "Please change the weather from Fahrenheit to Celsius"
}
]
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"200": {
"headers": {},
"body": [
{
"name": "taxi",
"culture": "en-us",
"description": "A custom prebuilt domain for taxi booking",
"examples": "book taxi x on friday at 6 pm, take me to Tinga's from Westin hotel with taxi lux",
"intents": [
{
"name": "book_taxi",
"description": "Requests/Books taxi",
"examples": "book taxi x on friday at 6 pm"
},
{
"name": "cancel_taxi",
"description": "Cancels taxi request",
"examples": "I just called an taxi SUV , please cancel, Cancel my taxi"
}
],
"entities": [
{
"name": "from_place_name",
"description": "Route starting point",
"examples": "find taxi x to take me to 9th street from space needle"
}
]
},
{
"name": "weather",
"culture": "en-us",
"description": "A custom prebuilt domain that gets weather forecast and condition",
"examples": "Show me the weather for this weekend, What's the weather?",
"intents": [
{
"name": "get_forecast",
"description": "Gets weather forecast",
"examples": "What's the weather like tomorrow?"
},
{
"name": "get_condition",
"description": "Gets weather condition",
"examples": "what's the average temperature in India in September?"
}
],
"entities": [
{
"name": "location",
"description": "Location of the queried weather",
"examples": "What's the weather like in Minneapolis"
},
{
"name": "unit",
"description": "Temperature measurement unit",
"examples": "Please change the weather from Fahrenheit to Celsius"
}
]
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"appId": "{appId}"
},
"responses": {
"200": {
"headers": {},
"body": {
"westus": "https://westus.api.cognitive.microsoft.com/api/v2.0/apps/bb25e72c-2279-46bb-a99b-89fcb921b58a",
"eastus2": "https://eastus2.api.cognitive.microsoft.com/api/v2.0/apps/bb25e72c-2279-46bb-a99b-89fcb921b58a",
"westcentralus": "https://westcentralus.api.cognitive.microsoft.com/api/v2.0/apps/bb25e72c-2279-46bb-a99b-89fcb921b58a",
"southeastasia": "https://southeastasia.api.cognitive.microsoft.com/api/v2.0/apps/bb25e72c-2279-46bb-a99b-89fcb921b58a"
}
}
}
}
Loading