How to sync requests after deploying WebHook with your own server - google-smart-home

How to sync requests after deploying WebHook with your own server

You will need to enable the Homegraph API, create a service account key, and then call the API. Detailed instructions for each step, along with example API calls are shown in the developer docs.

Related

Azure Logic App trigger a REST API in Azure API Manegement

I have an Azure Logic App and Azure API Management. I need to call the APIs from the Logic APP.
But when I try to add the action "Call an Azure API Management API" I get this error: "GetCallFailed. The API 'apiManagementOperation' could not be found."
Any pieces of advice on this error?
It's a Logic App (Standard).
According to this Documentation, Functionalities in Standard Logic app are either limited, unavailable, or are not supported.
Some built-in triggers and actions are not available, such as Slider Window, Batch, Azure App Service, and Azure API Management.
While connecting to your API Management directly, this feature is available in the Consumption logic app - Azure API Management.
Currently, the only option available in the Standard Logic App is to use an HTTP Connector.

Google Cloud Scheduler Permissions to call API

I need to allow Cloud Scheduler to call a REST endpoint in an App Engine app in the same project. I have set the scheduler target to "App Engine HTTP" and put the correct service and path to the API. When I test access to it, I am receiving a 401 Unauthorized. This occurs due to the presence of the OpenAPI cloud endpoints service on the API. I have service accounts listed in my OpenAPI yaml that are permitted to access the API, but I am not sure how to allow the Cloud Scheduler through. I have not found any documentation so far that provides this information.

Azure API management cant access app service api

I have an Azure app service that is protected by AAD Express Authentication; I intend to use API Management Service to manage it, but when i import the api in the management service and test one of my get function; it says 401 Unauthorized. I have tried adding "validate jwt" policy but I think I am doing something wrong. Can you tell me the correct way of making the connection to the AAD protected app service thru Api management service?
Azure API Management feature allows you to expose apps deployed in Azure App Service to manage, protect, and secure APIs.
To start using Azure API Management, go to the App Service extension, and follow these steps:
Select a new or existing API Management service instance for exposing the app.
Manage the API—apply policies, edit or download an OpenAPI
specification file,change the API configuration, or navigate to the
API Management instance.
Please refer to this document

APi management to Logic App: 404 not found

I have developed a solution using Azure Logic Apps and ApI management in Azure. API in Azure APi management call Azure logic App workflow [http trigger] as backend service.
The solution works fine with Azure logic App on one resource, Test. When I create the same logic App in another resource, Pre-production, I am receiving 404 Not found error.
I have two resource for API management [Test and pre-prod] and corresponding two logic app resource groups, [test and pre-prod]. The connection from both API management API is successful to Logic App in Test resource group.
However, when I try to connect to logic app workflow on Pre-prod, I am encountering 404 Not Found Error. I can select the workflow as back-end service through API management interface.
I have tested Logic App Workflow using postman and it works fine. It is only the API in API management which cannot connect.
I try to investigate using Trace but it does not provide any clue.
Any suggestions and help is welcome.
I found the issue. It was a return status coming back from logic apps, which was resource specific. otherwise, The call from API manager was going fine.

API to register verified domain with Google cloud project to subscribe for pub/sub topic

I'm looking for a way to create push subscription to a pub/sub topic fully from code. I managed to verify domain with domain verification api, but I cannot find an api to register domain with a project. The only way described here https://cloud.google.com/pubsub/advanced#register is with an interactive use of a console.
You can create a push subscriber from code using the create subscription API (or GRPC version). When the PushConfig parameter is provided, where you specify the push endpoint, the subscription is set up as a push subscription.

Resources