I’m using FME Server 2017.1.1.1 and REST API to create a repository and publish workspace into it. This is fairly straightforward. Once done, I’d like to share that repository with other users already existing on the server. Is there a way to do it via REST API? I wasn’t able to find it in API documentation.
Share a FME Server repository via REST API (v3)
Best answer by todd_davis
Good question...because it is hard to find and I don't know why, but the logic seems weird (I may have it wrong)
POST /security/categories/< category >/resources/< resource >/roles
Example
Category: Repositories
Resource: Dashboards
Roles: fmeguest
That give full permissions to the role for that repository. But then I if you don't want full access it is:
PUT /security/categories/< category >/resources/< resource >/roles/< role >
using one/some of the following permissions
"REPOSITORY_DOWNLOAD", "REPOSITORY_READ", "REPOSITORY_WRITE", "REPOSITORY_EXECUTE", "REPOSITORY_DELETE
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Login to the community
No account yet? Create an account
An FME Account is required to contribute
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.




