跳转到主要内容
POST
Describe layer

请求规范

  • 方法与路径: POST /apis/v1/arcgis-com/gis-layers/describe-layer
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/arcgis-com/gis-layers/describe-layer
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
item_id
string

ArcGIS item id of a Feature Service or Map Service (from search_datasets), optionally with a Hub _<layer> suffix. Alternative to url. Pattern: ^[0-9a-fA-F]{32}(_[0-9]{1,6})?$.

layer
number

Layer id within the service, when the URL names the service only.

Provider reference: minimum 0; maximum 999999.

url
string

ArcGIS REST service or layer URL, or an ArcGIS Online item page (https://www.arcgis.com/home/item.html?id=…). https:////rest/services///FeatureServer[/] or …/MapServer[/], on ArcGIS Online (services*.arcgis.com//arcgis/rest/services/…) or an agency's ArcGIS Server (gis..gov/arcgis/rest/services/…). Query strings are ignored; URLs carrying a token or key are refused.

响应

Read an ArcGIS FeatureServer or MapServer service, or one of its layers, from its REST URL or ArcGIS item id: the service's layers and tables (id, name, type, geometry type, URL), description, capabilities and record limit; for a layer, its fields (name, alias, type, length, coded-value or range domains), geometry type, object id and display fields, extent (native and WGS84 when convertible), query capabilities and max record count. Always includes attribution: the ArcGIS Online item's licence text and credits plus the copyright text, so results can be credited. Works with ArcGIS Online (services*.arcgis.com) and any agency-hosted ArcGIS Server; the answer must be ArcGIS service JSON, otherwise invalid_input not_arcgis_service. Token-protected services are not_found.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.