I am using openfire server with libary smack.
I want to create plugin which create new group.
what methode I should use/class?
I want to Create New Group in openfire -> User/Groups -> Group Summary
How I can do that?
It is not necessary to create a new plugin for that. You could use already existing REST API plugin which allow you to create new Groups.
Link to the REST API documentation (speccialy to create a new group): https://www.igniterealtime.org/projects/openfire/plugins/restapi/readme.html#create-a-group
Link to Openfire plugins: https://www.igniterealtime.org/projects/openfire/plugins.jsp
Related
Is there a way to export users based on project/teams? I need to create another team within another project but somehow I'm not able to add another project group to a different project
There isn't a straight forward way to do that. As a work around, you could use DevOps REST API to achieve this.
I am using DevOps PAT for Basic Auth.
Use this API to get userID in your DevOps organization: https://learn.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/user-entitlements/get-user-entitlements?view=azure-devops-rest-5.1
GET https://vsaex.dev.azure.com/{organization}/_apis/userentitlements?api-version=5.1-preview.2
Create a new Team in another and use this API to get groupID for this Team: https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/groups/list?view=azure-devops-rest-6.0&tabs=HTTP
GET https://vssps.dev.azure.com/{organization}/_apis/graph/groups?api-version=6.0-preview.1
With the userID and groupID collected, you could use this API to add members into this team: https://learn.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/members/add?view=azure-devops-rest-5.1
PUT https://vsaex.dev.azure.com/{organization}/_apis/GroupEntitlements/{groupId}/members/{memberId}?api-version=5.1-preview.1
I would like to know if there is a default feature for importing products export files in json/xml/csv format and if this can be called daily with a cron or something automatically.
Thanks,
Tibi
You are free to create a private App that has scope permissions to write_products, write_inventory and read_locations. With that, you can establish a script that can parse your json/xml/csv and update inventory. That script can be scheduled to run as often as you need. Shopify is an ideal platform for the use of scripting to accomplish many manual tasks.
I agree with David. You need to create a custom App in your store and submit your data to a script(you can use PHP) triggered by CRON hosted on a server which will create a record using Product API.
Step 1: Go to Apps tab in admin section of your store. Scroll down and click on Manage private apps, create an App here to generate API keys and password.
Step 2: Create and host(on a secured server) a script that will use API keys generated in previous step to create new product record using https://help.shopify.com/en/api/reference/products/product#create
Step 3: Fetch your data in any format and send this data in JSON format to your Shopify store using API. A new product record will be created in your store.
Note: You can test this API by using credential created in Step 1 on Postmen tool you can refer https://help.shopify.com/en/api/reference/products/product#create. You will have to hit Example URL generated in Private app from Step 1.
I am using openfire version 4.2.1 currently and I am not able to find api which provide me list of my MUC room in which I am member.
How can I get above result using openfire rest api ?
You can use the retrieve all user groups endpoint, specifying the username as part of the URl.
GET /users/{username}/groups
I have created an app in facebook workplace. Using app access token i want to create multi company group . As per documentaion to create group we should use
POST graph.facebook.com
/{community-id}/groups?
name={...}&
description={...}&
privacy=OPEN
So how we can create a multi company group ?
you can't create MCG through APIs.
The APIs are not available in the MCG, except few use cases like read the post on behalf of a member of the group.
Im aware that in order to group APIs, we need to tag tha APIs with desired "suffix"-group in WSO2 Publisher.
Is it possible to create a subgroup within existing API Group?
No, tags are not hierarchical.