Archiving an Asana Project using the API - asana

How can I archive a project using the api?
The api documentation for projects shows that projects have an 'archived' attribute, but when I try to update it, I get a message that it's read only.

Unfortunately, there is no way to write to this endpoint in the Asana API.

Related

Youtube Data API Access Not Configured

I have this error when trying to recover an endpoint on youtube api.
Access Not Configured. YouTube Data API has not been used in project 602077678805 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=602077678805 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.',
This is image console configuration
This is image com http return
Access Not Configured.
This error message can mean you have not enabled the api for use in your project. In order to use an API you must tell google that you intend to use it in your project. You cant just create a project and automatically use all of the apis google would like to know which ones you intend to use.
Go to the google developer console for your project as instructed in the link. under Libraries search for YouTube API enable it and apply for a quota.

Can we access archive mailbox (In Place archived) using Graph API

I am trying to access Archive Mailbox (In Place archived) , using MS Graph API , but found that its not working.
Does MsGraph support it ? If not then whats the other programatic way to get this content? Any other API?
No InPlace Archives aren't currently accessible using the Graph API, you can access them using EWS https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth then something like this would list the folder in the Archive
FolderView fv = new FolderView(1000);
FindFoldersResults ffResults = service.FindFolders(WellKnownFolderName.ArchiveMsgFolderRoot, fv);

iOS get contacts from Dynamics CRM API

I am developing an iPhone mobile app. In this I need to implement get contacts from Microsoft Dynamics CRM. I am done with login with Dynamics CRM but I am facing issue in get contacts API.
I am trying to call get contacts API in postman using the way mentioned in documentation but I am getting webpage code in response. If API will start working in postman then I can easily integrate it in my iOS app.
I am referring this link for postman setup: https://learn.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/setup-postman-environment
This is screenshot of my postman collection error:https://drive.google.com/open?id=17T93QYKrNkGMmK2QTyaI2kcF1RPrIPs_
This is screenshot of variables I set in postman: https://drive.google.com/open?id=1MFuGci4rJw1Q1RxwNI9fHiBStNy0Z5HI
So can you please help me to execute this get contact API in postman. I am not sure if I am passing wrong value of any parameter or the issue is something different.
seems that the URL parameter is off it should be the Dynamics 365 oganization URL only, like https://orgname.crm.dynamics.com and should be follow by api/data/v9.1/[entity name]
Hope it helps
I guess you are targeting Dynamics CRM online environment but the documentation you are following is for on-premise environment.
Please refer & follow these steps for configuring Postman to target CRM online by generating token using OAuth 2.0 authentication.

trouble with Google API's?

I have been running google maps and google places API in my app for about a year now. I woke up today and was not able to use the map which was greyed out, or searches. In the console,
ERROR AUTO COMPLETE Error Domain=com.google.places.ErrorDomain Code=-4 "Operation failed due to an invalid (malformed or missing) API key. See the developer's guide (https://developers.google.com/places/ios-sdk/start) for information on creating and using an API key." UserInfo={NSLocalizedFailureReason=Operation failed due to an invalid (malformed or missing) API key. See the developer's guide (https://developers.google.com/places/ios-sdk/start) for information on creating and using an API key., NSUnderlyingError=0x283e81560 {Error Domain=com.google.places.api.server.ErrorDomain Code=-2 "REQUEST_DENIED" UserInfo={NSLocalizedFailureReason=This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/places_backend?project=_, NSLocalizedDescription=REQUEST_DENIED}}}
The thing is all of my API's are called in the right place and I have been able to use maps for a while. Why all of a sudden it stops working?
Recently Google announced the new version of Places SDK client and deprecated the previous one. I believe you should migrate to new version asap, because the deprecated version will stop working very soon.
The new Places SDK client requires that you enable Places API web service in your Cloud project. The error message This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/places_backend?project=_, refers to the Places API web service.
Double check if the Places API web service is enabled, API key created and billing account configured properly.
The official documentation has the following statement
To use the Places SDK for iOS, you must:
Include an API key with all API requests.
Enable billing on each of your projects.
Enable the Places API service for each of your projects
For further details have a look at migration guide:
https://developers.google.com/places/ios-sdk/client-migration
I hope this helps!

Manage Google Assistant Actions programmatically

I'm trying to integrate my online Google Actions builder with Actions Console.
Now users have to manually create Actions JSON descriptor file and upload it to the project via gactions tool. But I would to let them upload their actions without these steps. As an example I saw that Gupshup service does this already - user has to authorise Gupshup once he would to upload his project, and all things perform behind the scene by Gupshup.
As I know I have to use some sort of Google API that allows to manage projects in Google Console with some specific OAuth scope - something like "Allow this service to manage Google Assistant dialogues and grammars".
Are there anybody who knows anything about such OAuth scopes and API?
You may be able to do something with the gactions tool, although there is no fully public API to manage Assistant console projects.

Resources