Later today we'll be rolling out a set of updates for the
Creative
Commons web services (http://api.creativecom
mons.org). The changes include:
* Jurisdiction names are now translated. This was missed in
the
original translation effort and has been corrected.
* Extraneous arguments to service calls are now ignored.
Previously
extra arguments caused the calls to fail.
* Calls to /issue and /get are now validated. This is the
biggest
change of the set. Previously the values passed in as the
answers XML
document (to /issue) or on the query string (to /get) were
passed
through without validation. They are now checked against
the list of
allowable values returned from the /license/[class] call.
For example,
a call to /license/standard shows the possible values ( id on the
enum
elements) for the "derivatives" parameter are
"y", "n", and "sa"
(Share
Alike). If a value other than these three is provided for
the
<derivatives> element (issue) or ?derivatives query
string parameter
(get), the server will return an error.
See http://api.creati
vecommons.org/docs for details on error
messages/identifiers and for additional documentation.
--
Nathan R. Yergler
Software Engineer
Creative Commons
ht
tp://wiki.creativecommons.org/User:NathanYergler
_______________________________________________
cc-devel mailing list
cc-devel lists.ibiblio.org
ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
|