# Entries

# Creating An Entry

curl -XPUT "https://db.dashkite.io/db/{db}/collections/{collection}/entries/{entry}" \
    -H "Authorization: {api-key}" \
    -H 'Content-Type: application/json' \
    -d '{value}'  

Parameter Description
db The database address. You can get the database address from the Web app or from the API response when you create the database.
collection The collection byname.
entry The entry byname.
api-key Your API key, which allows you to access your databases. You can get your API key from the Web application.
value The value of the entry. This may be JSON or text. When setting the value to text, the Content-Type header should be set to text/plain instead of application/json.

This feature is not yet available in the Web app.

# Listing Entries

curl -XGET "https://db.dashkite.io/db/{db}/collections/{collection}" \
    -H "Authorization: {api-key}" \
    -H 'Accept: application/json'
Parameter Description
db The database address. You can get the database address from the Web app or from the API response when you create the database.
collection The collection byname.
api-key Your API key, which allows you to access your databases. You can get your API key from the Web application.

This feature is not yet available in the Web app.

# Getting An Entry

curl -XGET "https://db.dashkite.io/db/{db}/collections/{collection}/entries/{entry}" \
    -H "Authorization: {api-key}" \
    -H 'Accept: application/json'
Parameter Description
db The database address. You can get the database address from the Web app or from the API response when you create the database.
collection The collection byname.
entry The entry byname.
api-key Your API key, which allows you to access your databases. You can get your API key from the Web application.

This feature is not yet available in the Web app.

# Getting An Entry’s Metadata

curl -XGET "https://db.dashkite.io/db/{db}/collections/{collection}/entries+metadata/{entry}" \
    -H "Authorization: {api-key}" \
    -H 'Accept: application/json'
Parameter Description
db The database address. You can get the database address from the Web app or from the API response when you create the database.
collection The collection byname.
entry The entry byname.
api-key Your API key, which allows you to access your databases. You can get your API key from the Web application.

This feature is not yet available in the Web app.

# Updating An Entry

You can update an entry the same way you create it.

This feature is not yet available in the Web app.

# Removing An Entry

curl -XDELETE "https://db.dashkite.io/db/{db}/collections/{collection}/entries/{entry}" \
    -H "Authorization: {api-key}"
Parameter Description
db The database address. You can get the database address from the Web app or from the API response when you create the database.
collection The collection byname.
entry The entry byname.
api-key Your API key, which allows you to access your databases. You can get your API key from the Web application.

This feature is not yet available in the Web app.