Skip to content

Commit

Permalink
Merge pull request #27 from sophie-app/fix/#26
Browse files Browse the repository at this point in the history
SearchAPIのQueryParamを修正
  • Loading branch information
imoken777 authored Nov 4, 2024
2 parents 536be1c + 8ed772b commit 5f02d17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/routes/search.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ interface DataSearchOperations {
@summary("データ検索API")
@get
search(
@query @doc("開発者サイトにて提供されるアクセストークン") `acl:consumerKey`: ConsumerKey,

@path
@doc("取得するデータの種別 odpt:クラス名")
RDF_TYPE: `odpt.url`,
Expand All @@ -25,6 +27,7 @@ interface DataDumpOperations {
@summary("データダンプAPI")
@get
dump(
@query @doc("開発者サイトにて提供されるアクセストークン") `acl:consumerKey`: ConsumerKey,
@path @doc("取得するデータの種別 odpt:クラス名") RDF_TYPE: DumpRDFType,
): DumpResponse[] | Common.Error;
}
Expand All @@ -34,6 +37,7 @@ interface DataRetrieveOperations {
@summary("データ取得API")
@get
retrieve(
@query @doc("開発者サイトにて提供されるアクセストークン") `acl:consumerKey`: ConsumerKey,
@path @doc("取得するデータのURI") DATA_URI: `odpt.urn` | `odpt.url`,
): RetrieveResponse[] | Common.Error;
}
Expand All @@ -43,6 +47,7 @@ interface PlaceSearchOperations {
@summary("地物情報検索API")
@get
search(
@query @doc("開発者サイトにて提供されるアクセストークン") `acl:consumerKey`: ConsumerKey,
@path @doc("取得するデータの種別") RDF_TYPE: PlaceRDFType,
@query @doc("取得する範囲の中心緯度、10進数表記、測地系はWGS84") lat: float,
@query @doc("取得する範囲の中心経度、10進数表記、測地系はWGS84") lon: float,
Expand Down

0 comments on commit 5f02d17

Please sign in to comment.