Draft
Conversation
- clearer structure for response bodies and schemas - use "list" as the standard result - re-use that for both lists
currently, that’s views, projects, files
includes switch to @xmldom/xmldom for latest security updates
- use prefix 'att' for all attributes in schema
- use prefix 'list' for all list-like results
- use plural for key of arrays in JSON ('projects': [] )and singular in XML (<project/>)
- redefine all list-like results to 'list'
- define 'contents' for mixed projects/files
- define GET /projecst/{ed}
- includes some rearranging of unit tests - update xmldom in node - add tests evaluating XML
When POSTing or PUTing a project, if the collection is already in use, return 409. Adjust tests to remove project created by POST (random ID)
Also, have a version attribute in config to address differecnt verrsions of the API Cf. #577
always use this order: - $projectResources/xsl/$name - else data/resources/xsl/$name - else resources/xsl/$name
- also: make use of new wdb:applySpecificXSL - this needed changes to api.xsl to create a structure parseable as JSON Cf. #577
also, add a comment stating where the HTML was generated Cf. #330
better for further processing than a sequence of and int (for status code) and and element or sth. else Cf. also #330
the values available as target are hardcoded as the `structure.json` endpoint has been withdrawn in REST2 Cf. #622
- use hard coded path for wdb+ – this will be standard for now as it removes quite some overhead - use the correct path for an addin to avoid a wdbErr:wdb0200
including necessary settings for API vis
I forgot that in 122c2d0
Include in resource structure and adjust config. Closes #503
This way, all resources are grouped here (okay, except for CSS and JS)
keep older version by calling #4 with empty parameter set
also, refactor for uniform error handling Cf. 610
this will be used by the controller in the next commit and we do not want to import app.xqm there
eXist only parses multipart requests automatically so we need to do this so roaster is able to pick it up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.