2017-06-06 5 views
3

:私はちょうどにオープンAPIのテストコンソールを使用していますAzureのアカデミック検索API:Graphsearch APIの次のAPI呼び出しを行うGraphSearch

Pragma: no-cache 
apim-request-id: ab90bbda-b1e7-4f55-b939-770ef086579b 
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload 
x-content-type-options: nosniff 
Cache-Control: no-cache 
Date: Tue, 06 Jun 2017 16:31:17 GMT 
X-Powered-By: ASP.NET 
Content-Length: 108 
Content-Type: application/json; charset=utf-8 
Expires: -1 
{ 
    "Error": { 
    "Message": "Something went wrong, if the error continue please contact us", 
    "Code": "InternalError" 
    } 
} 

POST https://westus.api.cognitive.microsoft.com/academic/v1.0/graph/search?mode=json HTTP/1.1 
Content-Type: application/json 
Host: westus.api.cognitive.microsoft.com 
Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• 

{ 
    "path": "/paper/AuthorIDs/author", 
    "paper": { 
    "type": "Paper", 
    "NormalizedTitle": "graph engine", 
    "select": [ 
     "OriginalTitle" 
    ] 
    }, 
    "author": { 
    "return": { 
     "type": "Author", 
     "Name": "bin shao" 
    } 
    } 
} 

は、内部サーバーエラー500を返します。 APIをテストします。

+0

私は同じエラーが発生します。 –

+0

私は問題をここに掲載しました:https://cognitive.uservoice.com/forums/555931-academic-knowledge/suggestions/19516336-the-examples-in-the-docs-give-500-internal-server –

+0

ありがとう@マリアインペルニサリ – Paul

答えて

0

これは最後に解決されたようです。あなたの質問には、私は次の答えを得る:

{ 
    "Results": [ 
     [ 
      { 
       "CellID": 2171539317, 
       "OriginalTitle": "A distributed graph engine for web scale RDF data" 
      }, 
      { 
       "CellID": 2093502026 
      } 
     ], 
     [ 
      { 
       "CellID": 73304046, 
       "OriginalTitle": "The Trinity Graph Engine" 
      }, 
      { 
       "CellID": 2093502026 
      } 
     ] 
    ] 
} 
関連する問題