|
| 1 | +<?php |
| 2 | +// This file was auto-generated |
| 3 | +return [ |
| 4 | +// 'version' => '', |
| 5 | + 'metadata' => |
| 6 | + [ |
| 7 | +// 'apiVersion' => '', |
| 8 | +// 'endpointPrefix' => 'aisearchdata', |
| 9 | + 'protocol' => 'json', |
| 10 | +// 'serviceFullName' => 'aisearchdata', |
| 11 | +// 'serviceId' => 'aisearchdata', |
| 12 | + ], |
| 13 | + 'operations' => [ |
| 14 | + 'FetchData' => [ |
| 15 | + 'name' => 'FetchData', |
| 16 | + 'http' => [ |
| 17 | + 'method' => 'GET', |
| 18 | + 'requestUri' => '/v1/fetchData', |
| 19 | + ], |
| 20 | + 'input' => [ 'shape' => 'FetchDataRequestShape', ], |
| 21 | + 'output' => [ 'shape' => 'FetchDataResponseShape', ], |
| 22 | + ], |
| 23 | + 'PushData' => [ |
| 24 | + 'name' => 'PushData', |
| 25 | + 'http' => [ |
| 26 | + 'method' => 'POST', |
| 27 | + 'requestUri' => '/v1/pushData', |
| 28 | + ], |
| 29 | + 'input' => [ 'shape' => 'PushDataRequestShape', ], |
| 30 | + 'output' => [ 'shape' => 'PushDataResponseShape', ], |
| 31 | + ], |
| 32 | + ], |
| 33 | + 'shapes' => [ |
| 34 | + 'FetchDataResponseShape' => [ |
| 35 | + 'type' => 'structure', |
| 36 | + 'members' => [ |
| 37 | + 'result' => [ 'shape' => 'FetchDataResultShape', ], |
| 38 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 39 | + ], |
| 40 | + ], |
| 41 | + 'PushDataResultShape' => [ |
| 42 | + 'type' => 'structure', |
| 43 | + 'members' => [ |
| 44 | + 'data' => [ 'type' => 'integer', 'locationName' => 'data', ], |
| 45 | + ], |
| 46 | + ], |
| 47 | + 'FetchDataRequestShape' => [ |
| 48 | + 'type' => 'structure', |
| 49 | + 'members' => [ |
| 50 | + 'crawlerId' => [ 'type' => 'string', 'locationName' => 'crawlerId', ], |
| 51 | + 'count' => [ 'type' => 'integer', 'locationName' => 'count', ], |
| 52 | + ], |
| 53 | + ], |
| 54 | + 'PushDataResponseShape' => [ |
| 55 | + 'type' => 'structure', |
| 56 | + 'members' => [ |
| 57 | + 'result' => [ 'shape' => 'PushDataResultShape', ], |
| 58 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 59 | + ], |
| 60 | + ], |
| 61 | + 'FetchDataResultShape' => [ |
| 62 | + 'type' => 'structure', |
| 63 | + 'members' => [ |
| 64 | + 'data' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ], |
| 65 | + ], |
| 66 | + ], |
| 67 | + 'PushDataRequestShape' => [ |
| 68 | + 'type' => 'structure', |
| 69 | + 'members' => [ |
| 70 | + 'crawlerId' => [ 'type' => 'string', 'locationName' => 'crawlerId', ], |
| 71 | + 'taskId' => [ 'type' => 'string', 'locationName' => 'taskId', ], |
| 72 | + 'title' => [ 'type' => 'string', 'locationName' => 'title', ], |
| 73 | + 'url' => [ 'type' => 'string', 'locationName' => 'url', ], |
| 74 | + 'content' => [ 'type' => 'string', 'locationName' => 'content', ], |
| 75 | + 'publish_time' => [ 'type' => 'string', 'locationName' => 'publish_time', ], |
| 76 | + 'category' => [ 'type' => 'string', 'locationName' => 'category', ], |
| 77 | + 'language' => [ 'type' => 'string', 'locationName' => 'language', ], |
| 78 | + 'author' => [ 'type' => 'string', 'locationName' => 'author', ], |
| 79 | + 'location' => [ 'type' => 'string', 'locationName' => 'location', ], |
| 80 | + ], |
| 81 | + ], |
| 82 | + ], |
| 83 | +]; |
0 commit comments