Hi
Is it possible to download the list of rules (maybe using metadata reader if not from UI)?
Also, anything/any links related to functionality of Export List Of Items option could help here.
Thanks!

Hi
Is it possible to download the list of rules (maybe using metadata reader if not from UI)?
Also, anything/any links related to functionality of Export List Of Items option could help here.
Thanks!
Hi
yes, you can download the rules using ONE Metadata Reader. You can use Filter tab to filter only rules for a specific stewardship:
You can also use the ID of the stewardship group to be sure it won’t change in time by renaming the groups (that’s a better practice): stewardship.$id= '15bbce34-0000-7000-0000-00000047025b'
You can test your filter queries in the UI, under All tab, when you switch the search option to AQL:
You can find more about the AQL syntax and options here: https://docs.ataccama.com/one/latest/catalog-items/aql-expressions.html
As for the Import/Export, this is more a technical export into a JSON file and serves more to a migration between environments. You can read more about it in here: https://docs.ataccama.com/one/latest/import-and-export.html
Let me know if this helps.
Kind regards,
Anna
Thanks
Thanks again!
Hi
yes, you can use the GraphQL API to get the rules, including the filter. We have some examples of the API queries in our documentation: https://docs.ataccama.com/one/latest/one-apis/one-api.html#list-entities The options are quite extensive - for each entity there are multiple queries, so the documentation doesn’t list all of them.
You can read through several articles here on community to help you start with graphql: https://community.ataccama.com/search?q=graphql There are several tips where to get more queries (e.g. through developer tools in the browser or through the Playground).
This is an example of the filter syntax (this one is for getting catalog items, but the principle is the same).
query GetCatalogItems {
catalogItems(versionSelector: {draftVersion: true}, filter: "connection.executorType like 'POSTGRESQL'") {
edges {
node {
draftVersion{
name,
connection {
type
}
}
}
}
}
}
Kind regards,
Anna
Thanks
Hi
yes, I recommend using Bearer token instead of Basic auth for the production-like usage (basic is fine for testing). You can read more here: https://docs.ataccama.com/one/latest/one-apis/api-requests-authentication.html
Kind regards,
Anna
Thank you so much for your inputs
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.