This layer was create with the intention of retrieving and including data, it does not have the hability do create databases or collections.
- configure user, password and host on /Mongo/MongoConf.phpResponse: HTTP/1.0 400
Message: Provide me a DB and a Collection
Response: HTTP/1.0 400
Message: Provide me a Collection
List all the Object of that Collection
Response: HTTP/1.0 200
Structure: [ {object} ]
Create an Object
Request: Object information
Response: HTTP/1.0 200
Structure: [ {object} ]
List one item based on the MongoID informed
Response: HTTP/1.0 200
Structure: {object}
Replace data completely based on the Mongo ID informed
Request: MongoID and Object information
Response: HTTP/1.0 200
Structure: {object}
Replace part of the Object based on the information sent
Request: MongoID and Object information
Response: HTTP/1.0 200
Structure: {object}
Delete one Object based on the Mongo ID informed
Request: MongoID
Response: HTTP/1.0 200