Illustration of attributes that are returned from GitHub REST API response - github-api

To list all organisations, I'm using the GitHub REST API.
https://api.github.com/organizations
Most of the attributes received from the API response have relevance or descriptions that I am unable to comprehend. Is there any documentation which gives illustration for the attributes

Related

Expose webhook documentation in apim

To clarify the title I am not thinking of the registering to a webhook through APIM, but to utilize APIM as my documentation for all API related information.
In our setup we wanted to also expose information about possible json objects from our webhooks and saw that this exists in OAS3.1. And azure APIM supports OAS3.1 for import. However importing a test webhook results in an error saying that it isn’t supported
This example was taken from OAS GitHub. So I know I can cheat and creat a dummy endpoint to allow people to view the documentation - but it is not ideal for our use case.
So the questions are:
how to expose the webhook documentation?
am I missing something in Microsoft documentation because I cannot see that it should not be allowed what I wanted to do?

Where is the complete list of Shopify Webhook Topics

Note: This question is not about how to retrieve the list of webhook topics an app is subscribed to.
Shopify API Version: 2022-01 (Latest)
Shopify Admin Api: REST Admin Api
The Shopify Webhook Documentation lists several webhook topics by category.
Example:
Subscription Error
Most all of the topics listed in the documentation can be subscribed to. However, if I try to subscribe to any of the BillingAttempt topics, Shopify returns an error:
Invalid topic specified: subscription_billing_attempts\success.
Does it exist? Is there a missing access scope?
This particular webhook is for a custom app installed directly in the store. I have verified every available access scope has been enabled. As of today, there are a total of 62 available scopes and all are enabled.
What is the Actual Question?
This isn't about troubleshooting the above error.
The question is specifically: Where can I find the complete list of available topics?
Note: Shopify includes a full list of topics in their error message. But, none of them are for subscription_billing_xxx topics. Maybe this is just a case where the API error has the most update to date list? And the docs are out of date?
If I understood correctly this topics list is the one you are searching for: https://shopify.dev/api/admin-graphql/2023-01/enums/WebhookSubscriptionTopic
There is SUBSCRIPTION_BILLING_xxx topics:
SUBSCRIPTION_BILLING_ATTEMPTS_CHALLENGED
SUBSCRIPTION_BILLING_ATTEMPTS_FAILURE
SUBSCRIPTION_BILLING_ATTEMPTS_SUCCESS
SUBSCRIPTION_BILLING_CYCLE_EDITS_CREATE
SUBSCRIPTION_BILLING_CYCLE_EDITS_DELETE
SUBSCRIPTION_BILLING_CYCLE_EDITS_UPDATE
For the REST API: https://shopify.dev/api/admin-rest/2023-01/resources/webhook#event-topics
For the GraphQL API: https://shopify.dev/api/admin-graphql/2023-01/enums/WebhookSubscriptionTopic

Get Records from Salesforce using Azure Logic Apps

I am trying to use Azure Logic Apps to read data from one of the Salesforce objects which has huge number of records. The Salesforce connector fetches the record and returns the pagination link as #odata.nextLink. But when I try to use a JSON parser to read the value it’s coming as null.
I tried to access the nextlink in a browser but it requires authentication. What authentication do we pass here ?
I would like to use an until action to iterate till I get a next link . So how do I check the condition for the until loop ?
nextLink doesn't look like core Salesforce thing, it might be the OData connector preprocessing the results for you. You'd have to consult the documentation for the connector (if any).
Salesforce's REST API will return field with nextRecordsUrl if there's next page of results, you'd call that in loop until the field disappears. You'd call it like any other REST API resource available after login, by passing Authorization: Bearer <sessionId also known as accessToken here>. Again - probably the connector abstracts this away from you. Don't think you can send headers like that in browser, you'd need curl, Postman, SoapUI or similar http client.
If you don't get better answer and documentation is scarce - consider using raw REST API. Or Azure Data Factory has an almost-decent Salesforce connector?
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_query.htm

DocuSign API "GET envelope" route not taking into account "include" parameter

I'm trying to use this route https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/get to get information on a specific Envelope in DocuSign, and I wanted to add the ?include=recipients parameter so as to get individual signers status too, but the parameter does not seem to do anything
Trying other values to include (documents, tags, etc). Doesn't change the response either.
Same result whether I try from my own code or from DS' "API explorer" tool
Am I using it wrong or is it a bug in the API?
This parameter (?include=recipients) is a new addition in the v2.1 API. You should ensure that the API endpoint you are calling has the v2.1 in the URL and not v2. You cannot use this feature with the v2.0 API. There are other reasons to use latest API 2.1 and it's supported by all SDKs.

retrieving instagram stories data using instagram api

I want to access and retrieve a user's Stories post from Instagram using their Dev API.
I tested after posting a story myself by using https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN.
However, that returns an empty object unless I post a regular post.
As far as I am aware the Instagram API does not currently return Stories.
The example response in the documentation for the media endpoint, for example, shows responses for Images, Videos and Carousel items only. The recent media end point documentation doesn't go into much detail on responses.
Media End Point Documentation
It is available only for Instagram Business Account.
See this link for more information: https://developers.facebook.com/docs/instagram-api/reference/user/stories/
The id returned by this endpoint can be used on the same API media endpoint.

Resources