⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
dalily.dev-unit.com
/
.scribe
/
endpoints
/
View File Name :
07.yaml
name: Countries description: '' endpoints: - httpMethods: - GET uri: api/countries metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'List countries' description: '' authenticated: false custom: [] headers: Content-Language: en Content-Type: application/json Accept: application/json X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: [] cleanUrlParameters: [] queryParameters: embed: name: embed description: 'Comma-separated list of the country relationships for Eager Loading - Possible values: currency,continent.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] includeNonActive: name: includeNonActive description: 'Allow including the non-activated countries in the list.' required: false example: false type: boolean enumValues: [] exampleWasSpecified: true nullable: false custom: [] iti: name: iti description: "Allow getting the country list for the phone number input (No other parameters need except 'countryCode'). Possible value: 0 or 1." required: false example: false type: boolean enumValues: [] exampleWasSpecified: true nullable: false custom: [] countryCode: name: countryCode description: "The code of the current country (Only when the 'iti' parameter is filled to true)." required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] sort: name: sort description: 'The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name.' required: false example: '-name' type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] perPage: name: perPage description: 'Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100.' required: false example: 2 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: null includeNonActive: false iti: false countryCode: null sort: '-name' perPage: 2 bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"data":[{"code":"AF","name":"Afghanistan","capital":"Kabul","continent_code":"AS","tld":".af","currency_code":"AFN","phone":"93","languages":"fa,ps,uz,tk","time_zone":null,"date_format":null,"datetime_format":null,"background_image_path":"app\/logo\/header-67e1b7188bb97.jpg","admin_type":"0","active":1,"icode":"af","flag_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/af.png","flag16_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/af.png","flag24_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/24\/af.png","flag32_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/32\/af.png","flag48_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/48\/af.png","flag64_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/64\/af.png","background_image_url":null},{"code":"AL","name":"Albania","capital":"Tirana","continent_code":"EU","tld":".al","currency_code":"ALL","phone":"355","languages":"sq,el","time_zone":null,"date_format":null,"datetime_format":null,"background_image_path":"app\/logo\/header-67e1b7188ed07.jpg","admin_type":"0","active":1,"icode":"al","flag_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/al.png","flag16_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/al.png","flag24_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/24\/al.png","flag32_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/32\/al.png","flag48_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/48\/al.png","flag64_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/64\/al.png","background_image_url":null}],"links":{"first":"https:\/\/demo.laraclassifier.local\/api\/countries?page=1","last":"https:\/\/demo.laraclassifier.local\/api\/countries?page=122","prev":null,"next":"https:\/\/demo.laraclassifier.local\/api\/countries?page=2"},"meta":{"current_page":1,"from":1,"last_page":122,"links":[{"url":null,"label":"« Previous","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=1","label":"1","active":true},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=2","label":"2","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=3","label":"3","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=4","label":"4","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=5","label":"5","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=6","label":"6","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=7","label":"7","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=8","label":"8","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=9","label":"9","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=10","label":"10","active":false},{"url":null,"label":"...","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=121","label":"121","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=122","label":"122","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries?page=2","label":"Next »","active":false}],"path":"https:\/\/demo.laraclassifier.local\/api\/countries","per_page":2,"to":2,"total":244}}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/countries/{code}' metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'Get country' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: code: name: code description: "The country's ISO 3166-1 code." required: true example: DE type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: code: DE queryParameters: embed: name: embed description: 'Comma-separated list of the country relationships for Eager Loading - Possible values: currency.' required: false example: currency type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: currency bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"code":"DE","name":"Germany","capital":"Berlin","continent_code":"EU","tld":".de","currency_code":"EUR","phone":"49","languages":"de","time_zone":null,"date_format":null,"datetime_format":null,"background_image_path":"app\/logo\/header-67e1b718ae369.jpg","admin_type":"1","active":1,"icode":"de","flag_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/de.png","flag16_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/de.png","flag24_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/24\/de.png","flag32_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/32\/de.png","flag48_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/48\/de.png","flag64_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/64\/de.png","background_image_url":null,"currency":{"code":"EUR","name":"Euro Member Countries","symbol":"€","html_entities":"€","in_left":0,"decimal_places":2,"decimal_separator":",","thousand_separator":" "}}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/countries/{countryCode}/subAdmins1' metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'List admin. divisions (1)' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: countryCode: name: countryCode description: 'The country code of the country of the cities to retrieve.' required: false example: US type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: countryCode: US queryParameters: embed: name: embed description: 'Comma-separated list of the administrative division (1) relationships for Eager Loading - Possible values: country.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] q: name: q description: 'Get the administrative division list related to the entered keyword.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] sort: name: sort description: 'The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name.' required: false example: '-name' type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] perPage: name: perPage description: 'Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100.' required: false example: 2 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] page: name: page description: 'Items page number. From 1 to ("total items" divided by "items per page value - perPage").' required: false example: 1 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: null q: null sort: '-name' perPage: 2 page: 1 bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"data":[{"code":"US.WY","country_code":"US","name":"Wyoming","active":1},{"code":"US.WV","country_code":"US","name":"West Virginia","active":1}],"links":{"first":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=1","last":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=26","prev":null,"next":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=2"},"meta":{"current_page":1,"from":1,"last_page":26,"links":[{"url":null,"label":"« Previous","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=1","label":"1","active":true},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=2","label":"2","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=3","label":"3","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=4","label":"4","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=5","label":"5","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=6","label":"6","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=7","label":"7","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=8","label":"8","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=9","label":"9","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=10","label":"10","active":false},{"url":null,"label":"...","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=25","label":"25","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=26","label":"26","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1?page=2","label":"Next »","active":false}],"path":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins1","per_page":2,"to":2,"total":51}}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/countries/{countryCode}/subAdmins2' metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'List admin. divisions (2)' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: countryCode: name: countryCode description: 'The country code of the country of the cities to retrieve.' required: false example: US type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: countryCode: US queryParameters: embed: name: embed description: 'Comma-separated list of the administrative division (2) relationships for Eager Loading - Possible values: country,subAdmin1.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] admin1Code: name: admin1Code description: 'Get the administrative division 2 list related to the administrative division 1 code.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] q: name: q description: 'Get the administrative division 2 list related to the entered keyword.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] sort: name: sort description: 'The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name.' required: false example: '-name' type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] perPage: name: perPage description: 'Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100.' required: false example: 2 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] page: name: page description: 'Items page number. From 1 to ("total items" divided by "items per page value - perPage").' required: false example: 1 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: null admin1Code: null q: null sort: '-name' perPage: 2 page: 1 bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"data":[{"code":"US.WY.045","country_code":"US","subadmin1_code":"US.WY","name":"Weston County","active":1},{"code":"US.WY.043","country_code":"US","subadmin1_code":"US.WY","name":"Washakie County","active":1}],"links":{"first":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=1","last":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=1572","prev":null,"next":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=2"},"meta":{"current_page":1,"from":1,"last_page":1572,"links":[{"url":null,"label":"« Previous","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=1","label":"1","active":true},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=2","label":"2","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=3","label":"3","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=4","label":"4","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=5","label":"5","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=6","label":"6","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=7","label":"7","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=8","label":"8","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=9","label":"9","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=10","label":"10","active":false},{"url":null,"label":"...","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=1571","label":"1571","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=1572","label":"1572","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2?page=2","label":"Next »","active":false}],"path":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/subAdmins2","per_page":2,"to":2,"total":3143}}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/countries/{countryCode}/cities' metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'List cities' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: countryCode: name: countryCode description: 'The country code of the country of the cities to retrieve.' required: false example: US type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: countryCode: US queryParameters: embed: name: embed description: 'Comma-separated list of the city relationships for Eager Loading - Possible values: country,subAdmin1,subAdmin2.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] admin1Code: name: admin1Code description: 'Get the city list related to the administrative division 1 code.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] admin2Code: name: admin2Code description: 'Get the city list related to the administrative division 2 code.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] q: name: q description: 'Get the city list related to the entered keyword.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] autocomplete: name: autocomplete description: 'Allow getting the city list in the autocomplete data format. Possible value: 0 or 1.' required: false example: false type: boolean enumValues: [] exampleWasSpecified: true nullable: false custom: [] sort: name: sort description: 'string|array The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name,population.' required: false example: '-name' type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] perPage: name: perPage description: 'Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100.' required: false example: 2 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] page: name: page description: 'Items page number. From 1 to ("total items" divided by "items per page value - perPage").' required: false example: 1 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: null admin1Code: null admin2Code: null q: null autocomplete: false sort: '-name' perPage: 2 page: 1 bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"data":[{"id":50797,"country_code":"US","name":"Communications Hill","latitude":37.29,"longitude":-121.86,"subadmin1_code":"US.CA","subadmin2_code":"US.CA.085","population":11267,"time_zone":"America\/Los_Angeles","active":1,"posts_count":0},{"id":50796,"country_code":"US","name":"James Island","latitude":32.72,"longitude":-79.96,"subadmin1_code":"US.SC","subadmin2_code":"US.SC.019","population":6000,"time_zone":"America\/New_York","active":1,"posts_count":0}],"links":{"first":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=1","last":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=3600","prev":null,"next":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=2"},"meta":{"current_page":1,"from":1,"last_page":3600,"links":[{"url":null,"label":"« Previous","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=1","label":"1","active":true},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=2","label":"2","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=3","label":"3","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=4","label":"4","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=5","label":"5","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=6","label":"6","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=7","label":"7","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=8","label":"8","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=9","label":"9","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=10","label":"10","active":false},{"url":null,"label":"...","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=3599","label":"3599","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=3600","label":"3600","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities?page=2","label":"Next »","active":false}],"path":"https:\/\/demo.laraclassifier.local\/api\/countries\/US\/cities","per_page":2,"to":2,"total":7200}}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/subAdmins1/{code}' metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'Get admin. division (1)' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: code: name: code description: "The administrative division (1)'s code." required: true example: CH.VD type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: code: CH.VD queryParameters: embed: name: embed description: 'Comma-separated list of the administrative division (1) relationships for Eager Loading - Possible values: country.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: null bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":"No administrative divisions found","result":{"data":[],"links":{"first":"https:\/\/demo.laraclassifier.local\/api\/subAdmins1\/CH.VD?page=1","last":"https:\/\/demo.laraclassifier.local\/api\/subAdmins1\/CH.VD?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":null,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"https:\/\/demo.laraclassifier.local\/api\/subAdmins1\/CH.VD?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"https:\/\/demo.laraclassifier.local\/api\/subAdmins1\/CH.VD","per_page":39,"to":null,"total":0}}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/subAdmins2/{code}' metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'Get admin. division (2)' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: code: name: code description: "The administrative division (2)'s code." required: true example: CH.VD.2225 type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: code: CH.VD.2225 queryParameters: embed: name: embed description: 'Comma-separated list of the administrative division (2) relationships for Eager Loading - Possible values: country,subAdmin1.' required: false example: null type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: null bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"code":"CH.VD.2225","country_code":"CH","subadmin1_code":"CH.VD","name":"Lausanne District","active":1}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/cities/{id}' metadata: groupName: Countries groupDescription: '' subgroup: '' subgroupDescription: '' title: 'Get city' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: id: name: id description: "The city's ID." required: true example: 12544 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: id: 12544 queryParameters: embed: name: embed description: 'Comma-separated list of the city relationships for Eager Loading - Possible values: country,subAdmin1,subAdmin2.' required: false example: country type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: embed: country bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"id":12544,"country_code":"DE","name":"Berlin","latitude":52.52,"longitude":13.41,"subadmin1_code":"DE.16","subadmin2_code":"DE.16.00","population":3426354,"time_zone":"Europe\/Berlin","active":1,"posts_count":0,"country":{"code":"DE","name":"Germany","capital":"Berlin","continent_code":"EU","tld":".de","currency_code":"EUR","phone":"49","languages":"de","time_zone":null,"date_format":null,"datetime_format":null,"background_image_path":"app\/logo\/header-67e1b718ae369.jpg","admin_type":"1","active":1,"icode":"de","flag_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/de.png","flag16_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/16\/de.png","flag24_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/24\/de.png","flag32_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/32\/de.png","flag48_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/48\/de.png","flag64_url":"https:\/\/demo.laraclassifier.local\/images\/flags\/rectangle\/64\/de.png","background_image_url":null}}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: []