GraphQL接口
-
Scalars
About scalars Scalars 是基本值类型:Int 、Float 、String 、Boolean 或 ID 。 在调用 GraphQL API 时,必须指定嵌套的子字段,直到只返回标量值为止。 Boolean Boolean 标量类型表示 true 或 false 。 Float Float 标量类型表示有符号双精度浮点数值,符合 IEEE 754 标准。 ID ID -
Objects
Objects About objects Objects 在 GraphQL 中代表您可以访问的资源。一个对象可以包含一系列字段,这些字段都有特定的类型。 Archive 文档详情,包括文章,产品 Fields Name Description allow_oversold (Boolean ) 是否支持超卖 amount (Int ) canonical_url (String ) -
Queries
About queries archive Type: Archive 获取文档、产品详情 Arguments Name Description password (String ) 有密码的文档,传password验证获取全部内容 id (Int ) filename (String ) 同url_token url_token (String ) 文档别名。特殊情况:上一篇:prev,下一篇