These are chat archives for collectiveaccess/support

18th
Feb 2016
PMassoels
@PMassoels
Feb 18 2016 13:23
Hi there
CollectiveAccess
@collectiveaccess
Feb 18 2016 13:23
good morning
PMassoels
@PMassoels
Feb 18 2016 13:24
I am using the api and i was wondering if it was possible to get the list names in its single form
for example the doc type :
"nl_NL": {
"doc_title": "UGent: Feiten en cijfers ",
"doc_url": "http://www.ugent.be/nl/univgent/feiten",
"doc_lastvisit": "20 november 2013",
"doc_publish": "voorwaarden Universiteitsarchief Gent",
"doc_type": "bronverwijzingen"
}
CollectiveAccess
@collectiveaccess
Feb 18 2016 13:25
which API?
PMassoels
@PMassoels
Feb 18 2016 13:25
web service api
CollectiveAccess
@collectiveaccess
Feb 18 2016 13:26
I mean what is the call you're using to get this data?
kaik84
@kaik84
Feb 18 2016 13:26
This message was deleted
If i'm doing an import I search on the list item , where it is not plural
so it would be easy for me if this worked in the same way
CollectiveAccess
@collectiveaccess
Feb 18 2016 13:30
Yeah, I see. So in your example doc_type is a list, and you want the singular form for it?
PMassoels
@PMassoels
Feb 18 2016 13:30
if thats possible that would be nice
CollectiveAccess
@collectiveaccess
Feb 18 2016 13:30
And doc_type is a "List" element?
(Just making sure)
Because if that's the case then I'm sorry to say that we do not expose a parameter to control the form in that service
But we could see about adding that. It should not be difficult to do.
PMassoels
@PMassoels
Feb 18 2016 13:32
no , all of them
so anywhere a listitem is returned
CollectiveAccess
@collectiveaccess
Feb 18 2016 13:32
But they're elements, not relationships is what I mean
PMassoels
@PMassoels
Feb 18 2016 13:33
indeed
CollectiveAccess
@collectiveaccess
Feb 18 2016 13:33
we don't expose parameters to control the form in the service
although there are controls in the internal API's the service is using
Please create a ticket for the change you need at http://clangers.collectiveaccess.org and I'll discuss it later today with Stefan, who is the service code maintainer
PMassoels
@PMassoels
Feb 18 2016 13:36
Ok, thanks ! :)
Stefan
@stefankeidel
Feb 18 2016 15:48
@PMassoels I'll try to take a look today. should be relatively straightforward
PMassoels
@PMassoels
Feb 18 2016 15:55
Nice! :) Thnx