{"swagger":"2.0","info":{"description":"**國家發展委員會政府資料開放平臺提供資料使用者透過API Service取得品質檢測之詳細資訊。**\n* 品質檢測的標準規範：\n品質檢測之資料規範可參考國家發展委員會所頒布的「[我有話要說、我想要更多、品質檢測介接規範](https:\/\/file.data.gov.tw\/content\/%E5%9C%8B%E5%AE%B6%E7%99%BC%E5%B1%95%E5%A7%94%E5%93%A1%E6%9C%83_%E6%88%91%E6%9C%89%E8%A9%B1%E8%A6%81%E8%AA%AA%E3%80%81%E6%88%91%E6%83%B3%E8%A6%81%E6%9B%B4%E5%A4%9A%E3%80%81%E5%93%81%E8%B3%AA%E6%AA%A2%E6%B8%ACAPI%E8%A6%8F%E7%AF%84%E6%96%87%E4%BB%B6_10903.pdf)」為原則\n* 品質檢測API 的使用：\n品質檢測API 依據規範設計了兩個取得資訊，其一為政府資料開放平臺在機關底下所有資料集的品質檢測簡略資訊，其二為針對某特定的資料集取得詳細品質檢測相關資訊。 ","version":"1.0.0","title":"國家發展委員會 政府資料開放平臺 品質檢測API Service","contact":{"email":"opendata@moda.gov.tw"},"license":{"name":"Apache 2.0","url":"http:\/\/www.apache.org\/licenses\/LICENSE-2.0.html"}},"host":"data.gov.tw","basePath":"\/api\/v2\/rest","tags":[{"name":"品質檢測API Service","description":"the result of quality"}],"schemes":["https","http"],"paths":{"\/qc\/{oid}":{"get":{"tags":["品質檢測API Service"],"summary":"Get quality list by oid","description":"回傳政府資料開放平臺在機關底下所有資料集的品質檢測簡略資訊","produces":["application\/json"],"parameters":[{"name":"oid","in":"path","description":"請填入機關物件識別碼oid","required":true,"type":"string","collectionFormat":"csv"}],"responses":{"200":{"description":"successful operation","schema":{"type":"array","items":{"$ref":"#\/definitions\/QcList"}}},"400":{"description":"Invalid status value"}}}},"\/quality_result\/{datasetId}":{"get":{"tags":["品質檢測API Service"],"summary":"Get quality list by datasetID","description":"回傳政府資料開放平臺特定的資料集取得詳細品質檢測相關資訊","operationId":"datasetId","produces":["application\/json"],"parameters":[{"name":"datasetId","in":"path","description":"請填入資料集識別碼datasetID","required":true,"type":"string","collectionFormat":"csv"}],"responses":{"200":{"description":"successful operation","schema":{"type":"array","items":{"$ref":"#\/definitions\/Quality"}}},"400":{"description":"Invalid status value"}}}}},"definitions":{"Resource":{"type":"object","properties":{"linkable":{"type":"integer","format":"int32"},"downloadable":{"type":"integer","format":"int32"},"structure":{"type":"integer","format":"int32"},"encoding_match":{"type":"integer","format":"int32"},"desc_match":{"type":"integer","format":"int32"},"is_whitelist":{"type":"integer","format":"int32"},"agency":{"type":"string"},"pubdate":{"type":"string","format":"date-time"},"request":{"type":"string","format":"date-time"},"changed":{"type":"string","format":"date-time"}}},"Dataset":{"type":"object","properties":{"linkable":{"type":"integer","format":"int32"},"downloadable":{"type":"integer","format":"int32"},"structure":{"type":"integer","format":"int32"},"encoding_match":{"type":"integer","format":"int32"},"desc_match":{"type":"integer","format":"int32"},"is_whitelist":{"type":"integer","format":"int32"},"agency":{"type":"string"},"pubdate":{"type":"string","format":"date-time"},"request":{"type":"string","format":"date-time"},"changed":{"type":"string","format":"date-time"}}},"QualityResult":{"type":"object","properties":{"status":{"type":"boolean"},"dataset":{"$ref":"#\/definitions\/Dataset"},"resources":{"type":"array","items":{"type":"object","properties":{"url":{"type":"object","properties":{"resource":{"$ref":"#\/definitions\/Resource"},"files":{"type":"array","items":{"type":"string"}}}}}}},"no_qc":{"type":"array","items":{"type":"string"}}}},"Quality":{"type":"object","required":["nid"],"properties":{"success":{"type":"boolean"},"result":{"$ref":"#\/definitions\/QualityResult"}}},"QcListResult":{"type":"array","items":{"type":"object","properties":{"datasetId":{"type":"integer","format":"int64"},"title":{"type":"string"},"linkable":{"type":"integer","format":"int32"},"downloadable":{"type":"integer","format":"int32"},"structure":{"type":"integer","format":"int32"},"encoding_match":{"type":"integer","format":"int32"},"desc_match":{"type":"integer","format":"int32"},"csv":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"},"request":{"type":"string","format":"date-time"},"changed":{"type":"string","format":"date-time"}}}},"QcList":{"type":"object","required":["oid"],"properties":{"success":{"type":"boolean"},"result":{"$ref":"#\/definitions\/QcListResult"}}}}}