Open ondics opened 1 year ago
I need to create two pages: about and privacy policy.
In my case, they change from time to time and there are multiple ckan instances with the identical content on these two pages,
I need to automate the creation and update of these two pages. Unfortunately ckanext-pages has no API yet to create or update page content.
When looking at the database table ckanext_pages it would be easy to directly INSERT an new page using psql and SQL INSERT/UPDATE statements. .
ckanext_pages
INSERT
psql
However there is the id attribute which is required in the database table ckanext_pages.
id
How to get such an id? Is it possible to get an idusing the CKAN-api?
I need to create two pages: about and privacy policy.
In my case, they change from time to time and there are multiple ckan instances with the identical content on these two pages,
I need to automate the creation and update of these two pages. Unfortunately ckanext-pages has no API yet to create or update page content.
When looking at the database table
ckanext_pages
it would be easy to directlyINSERT
an new page usingpsql
and SQL INSERT/UPDATE statements. .However there is the
id
attribute which is required in the database tableckanext_pages
.How to get such an
id
? Is it possible to get anid
using the CKAN-api?