graph call behind get-cscallqueue - microsoft-graph-api

Is there a Graph equivalent of the Get-CsCallQueue command? I tried to search the Teams and Skype Graph documentation, but didn't find it. Tried to check on the GitHub page, but I only found the documentation, not the source code (I am not really familiar with GitHub).

There is no graph API available which is equivalent of the Get-CsCallQueue command.
Could you please raise an user voice here:
https://microsoftteams.uservoice.com/forums/555103-public/filters/new

Related

Detailed Skype for Business reports from Microsoft Graph

my goal is simple: I want to fetch a detailed report of the PSTN usage of my users in Office 365. I wanted to achieve that with PowerShell but unfortunately, the Get-CxPSTNUsageDetailReport command was deprecated in January 2018.
I ended up playing around Microsoft Graph as suggested by this article (the one about the deprecated command). After taking a deep look in here, I wasn't able to find any information on how to get this report from the API.
Do any of you knows if there is:
An API query for that
An official support channel for this
Also, I've found some threads about Skype for Business and most of them were back from 2017 stating that a lot of S4B features were not available in Graph, is it still the case?
If so, why are they suggesting Microsoft Graph as an alternative then?
You can use this API:
/reports/SfbActivity(view=view-value, period=period-value, date=date-value)/content
For more information, refer to the documentation.

Delete channel in Slack API

I am finishing development of API similar to Slack API, but with more/different features. I have to implement an API (more like command/endpoint) for deleting a room and I can't find anything like that in the documentation.
It seems that it can be done via webUI according to this help article.
But there is no method for it in Slack API methods.
I think there is only channels.archive with similar purpose, but it seems very strange not having a method to delete a room.
Is it really like that that room can't be deleted via Slack API?
There is no method for deleting a channel in the official API, but there is the undocumented method channels.delete that has this exact functionality.
Basic usage is:
https://slack.com/api/channels.delete?token=TOKEN&channel=C12345678
Please note that undocumented methods are not officially supported by Slack and might change or stop working without any prior warning. Still, they are very useful and I have made a github to document all known undocumented methods. Please feel free to use and contribute.
Tried it today 2nd June 2022 and it responds with 'unknown_methods', I guess it's outdated now.

Implement search in Swagger UI

I got the question to implement search in my Swagger UI which uses localhost.
I have been searching online and I didn't find an answer for this.
My question is: "Is it possible to implement search in the Swagger UI, so people can search for a path of the API?"
Thanks in advance!
I have received an answer on the official Swagger community page on Google groups.
They suggested the following page on github and this was just what I was looking for. It is a very nice looking search implementation in the Swagger UI.
https://github.com/swagger-api/swagger-ui/pull/2116
Anyway thanks for answering to my question!
This swagger-ui don't have a ui-search option so far. But as a solution you have 2 options.
By default swagger-ui list down the set of apis based on the paths (annotated by #Api() on api code). In the below example it has listed down apis based on 2 paths (price-checks and pdp-details).
2.You can explicitly tell swagger-ui to only show apis listed under specific path. In below example, it shows apis listed under price-checks only.
To do that, you have to configure that path-doc with swagger.
Refer this for more info about swagger-annotations.
UPDATE:
In- built swagger-ui search is now available.
There is a repository in githubswagger search that can search API's across projects and search API in swagger document by command(ctrl)+F.

Is it possible to tag a user/page through Facebook open graph api?

I found this post on SO as well as some other links on the web but they all seem outdated and seem to indicate that FB has not yet exposed this through the Open Graph API and i couldnt find anything to the contrary on the web. I am trying to find a way to post an image to a users wall and be able to tag multiple users in the post title or caption?
Is there still no way to do this through the api or somehow achieve the same result?
Tagging user/page in photo caption
This is not possible through the Graph API, and as far as I know the old #[user_id:0:link_text] is currently unavailable. Sadly I'm going to say that it is not possible at the time of writing this post.
I'll update this post with relevant info if I come across any.
Tagging user/page in Photo
This is possible through the Graph API.
The documentation for how to accomplish what you are looking for is located under the headline "tags" if you follow the link below:
developers.facebook.com - Core Concepts › Graph API › Photo

Getting stats for Twitter app

I'm using Twitter's OAuth for my app (DroidIn)
To my dismay I can't find any way to track who and how often is using the app. Searching Twitter for "sent from DroidIn" does not yield any results. I suppose I can call some sort of counter app from my code but that doesn't seem to be fair to my users. Any ideas or suggestions?
It seems that yet again I have to answer my own question. After some investigation and feedback from question posted on Google Twitter developer group it seems that for now there are no stats easily accessible or available. Said that I found 2 interesting things:
You can search Twitter using source:yourapp switch. For example you can try this query
android source:API
There is very exciting streaming API from Twitter. I have a short write-up in my dev blog.
But if you want some actual stats there's no other choice today but implement it as part of your app. There's one more possibility if you have some sort of web-based interface you may want to use Google Analytics to trigger some Google javascript while submitting the update. I'm trying that right now and may end up with article in the blog

Resources