最近の検索
最近の検索はありません
Zendesk OpenAPI
投稿日時:2021年3月28日
Is there an Open API spec / Swagger file for Zendesk? I've seen a few threads from a while ago but wondered if there's any updates:
- https://develop.zendesk.com/hc/en-us/community/posts/360028870454/comments/360004529253
5
26
26件のコメント
公式
Sanjeev Mandalapu
Thank you all for you patience and understanding.
The schema file is now available in the Zendesk Developer Docs > Download Open API file.
We have prioritised Ticketing APIs in this release and will work to make the schema available for other APIs as well.
Greg Katechis has been very active and instrumental in pushing this up the priority list internally.
0
Mitch Ryan
Sanjeev Mandalapu I see that the OAS has been updated with fixes to remove the erroneous trailing ".yaml" in schema names, and to address the malformed array schema, that's already a big improvement, thanks.
Here are some schema which I've identified to still contain array-types without `items` properties:
Thanks again, looking forward to further fixes and improvements.
0
Sanjeev Mandalapu
Daniel Williams: Nah! We wanted to keep it generalised for now as part of the (initial) documentation offering. I will take your suggestion/feedback to the team and do a feasibility check to do such customised generation within the Admin Centre UI.
Mitch Ryan your comments on this page are a good start. The team are working on the reported `items` already. The trailing .yaml is a source file issue and is being rectified too. We will post an updated file soon in the documentation.
With more OAS files (as we cover more products), we will create a public GH repo which could help with issue management.
Honestly, thank you for the feedback in improving this resource.
0
Mitch Ryan
Sanjeev Mandalapu - thanks for the long awaited update. Where should we post bugs+issues with the OpenAPI schema?
To give an example: many fields/properties of `type: array` either:
1. Have no `items` property altogether. As one specific example, the `TicketUpdateInput` schema has a `tags` property, which is `type: array`, but does not specify items, and therefore we cannot programmatically determine that this is (presumably) an array of strings.
2. Have specified a `properties` property instead of an `items` property. Consider the example of `PushNotificationDevicesInput`, which is `type: array` but has `properties: …` instead of `items: …`.
Additionally, some schema/component names have a trailing `.yaml` for some reason. I assume this is erroneous, but I could be wrong.
0
Daniel Williams
@Sanjeev Mandalapu
Is there a way to generate the OAS for our specific instance of ZD so that it includes custom fields, objects, etc?
0
公式
Sanjeev Mandalapu
Thank you all for you patience and understanding.
The schema file is now available in the Zendesk Developer Docs > Download Open API file.
We have prioritised Ticketing APIs in this release and will work to make the schema available for other APIs as well.
Greg Katechis has been very active and instrumental in pushing this up the priority list internally.
0
Brandon Taylor
Wondering the same?
0
Enrico Stahn
Greg Katechis Any updates on that OpenAPI schema?
0
Mitch Ryan
Ah, I misunderstood, I thought you meant that Zendesk's official clients (SDKs) were accessing data over GraphQL.
Back to you for that update now Greg…
0
Serge Pincon
https://support.zendesk.com/hc/en-us/community/posts/4486825535258-What-is-the-Access-log-API-
Quote (1st official comment): A large part of our frontend uses a tool called GraphQL. For the purposes of this EAP it means that the URL path is obfuscated and we don’t know what was accessed as part of the request an agent made. You will see this /graphql path in some of the URLs.
1
Mitch Ryan
Serge, could you please provide a source for that statement (that GraphQL is being used in the clients)? If that's true, then we might be able to reverse-engineer the client source to find the GraphQL API URL, and therefore be able to do introspection.
0
サインインしてコメントを残してください。