Giter Club home page Giter Club logo

Comments (2)

Simran-B avatar Simran-B commented on May 21, 2024

404: If the collection-name is unknown, then a HTTP 404 is returned.

Not sure what unknown is supposed to mean in this context, it seems to belong to another HTTP method (GET .../_api/collection/{name} -> 404 collection or view not found)

Empty POST body as well as invalid collection name leads to 404 illegal name. The 400 missing name error can not be triggered it seems...

Conflict with existing collection leads to 409 duplicate name

Docs look outdated but also partially broken?

from docs.

Simran-B avatar Simran-B commented on May 21, 2024

Recent changes to error codes:

  • Changed HTTP return code for an error case in /_api/cluster/endpoints REST API.
    Now, if the API is called on a single server, it will return HTTP 501 instead
    of HTTP 403 (https://github.com/arangodb/arangodb/pull/10743/files / https://github.com/arangodb/arangodb/pull/10664/files ?)
  • Changed HTTP return code for an error case in /_api/cluster/agency-dump REST API.
    Now, if the API is called on a server type other than coordinator, it will return
    HTTP 501 instead of HTTP 403. (Endpoint apparently not documented)
  • The General Graph document API is now consistent with the document API in its error messages.
    When attempting to create / modify edges pointing to non existing vertex collections
    HTTP 400 is returned instead of 404.
  • more?

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.