How to get all users' tasks via CVAT REST API? - rest

When I use the /api/tasks endpoint of the CVAT REST API, it lists only the caller's tasks. Even when the caller is a Maintainer, it can't list all the tasks from all users.
Is there something that will allow a Maintainer user on CVAT to list all the tasks from all users?

Related

Should keycloak provide to clients secrets of another clients or not?

Using REST API method GET /{realm}/clients we may list clients information.
To do this in keycloak 20.0.0, all you need to have is:
access token (for clients -- service account)
role realm-management/view-clients
Clients is separated applications, that use single SSO, isn't?
Or is this role so powerful?
Filtered examples of responses for mentioned method:
keycloak:18.0.0: response-18.json
keycloak:20.0.0: response-20.json
All scripts to reproduce in gist: https://gist.github.com/SilentSpammer/7d633e10530679b2504eac3ee393fc38

Usecases for PowerShell 'MicrosoftTeams' module and 'Microsoft.Graph.Teams'

Maybe someone can explain to me why there are two separate modules (understanding that the regular module is on top of the graph module anyway) and when to use one or the other.
Microsoft Teams PowerShell module is a set of cmdlets for managing Teams directly from the PowerShell command line
The Microsoft Teams PowerShell module includes the following features:
Uses a single module to manage all aspects of Teams administration,
including users, teams, policies, and configuration.
Supports authentication mechanisms such as access tokens and
credentials.
Microsoft Graph Teams module is used to perform some basic tasks like below:
List users to find the user ID of the logged-in user
List joinedTeams to get the Teams the user is a member of.
List channels to get the channels in a Team.
Send message to send a message to a Team channel.
Ref Doc:
https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-overview
https://learn.microsoft.com/en-us/powershell/microsoftgraph/get-started?view=graph-powershell-1.0

How can I fetch all the Subscriptions/Users of an API in WSO2 APIM 2.1

I am aware that WSO2 APIM has its REST APIs which can fetch all the subscriptions and applications for an API. But since these REST APIs are scope specific and require scoped tokens which are created based on a particular users credentials it can only retrieve the subscriptions and applications of a particular user and not all the API subscriptions (subscriptions done by other users).
Is there any way I could retrieve all the subscriptions of an API (not restricted by a single user)
Try explore the Registry REST API [1], I think this is the best way to get this generic information.
[1] https://docs.wso2.com/display/AM250/Using+the+Registry+REST+API
Another possibility is you check in the Administration Services [2] if you find something that can help you.
[2] https://docs.wso2.com/display/AM250/WSO2+Admin+Services
Actually, I figured out what I was doing wrong. The Store REST APIs are scoped and can only fetch the subscriptions of a particular user since the token scope is user specific. However, if I tried the Publishers REST API for fetching all subscriptions, I could fetch all the subscriptions regardless of the user and application, hence giving me the result I required.
Basically I used https://docs.wso2.com/display/AM210/apidocs/publisher/#!/operations#SubscriptionCollection#subscriptionsGet
instead of
https://docs.wso2.com/display/AM210/apidocs/store/#!/operations#SubscriptionCollection#subscriptionsGet

Adding Users to Groups in Jfrog's Artifactory using REST API

I need to add users to the groups in Artifactory using REST API. I cannot find any REST API methods available for doing this.I am using PERL scripting to automate Artifactory's REST API calls. Could you please suggest me some ways of doing this?
Thanks in Advance!
The REST API you're looking for is here - it uses a json descriptor for operations as specified here.
If you want to see an example of such descriptor use the get group details on the specific group you're after (use get groups for a list of all your groups).
To add users to specific permission targets you can use get permission tragets, get permission target details and create or replace permission target respectively - This is the json it uses.
As for client usage - any simple REST client implementation will do of course, you don't have to use an Artifactory specific client for that.
Admin permissions are required for such operations - ask your system admin for these if you are not the admin - it's always better to use the API key but basic auth will work as well.

Linkedin REST API retrieve status updates of a user

I'm trying to retrieve the status updates of the authenticated user with the REST API. Is there a way to do that? I only can find a way to retrieve the status updates of the companies the user has admin rights of.
It is no longer possible with the standard LinkedIn API (If you look at their REST console, you can see all the public methods: https://apigee.com/console/linkedin?apig_cc=1).
You now need to join their partner program in order to access additional API methods now: https://developer.linkedin.com/partner-programs