FIWARE / mintaka

implementation of the NGSI-LD temporal retrieval api.
5 stars 2 forks source link

Issue when deleting temporal entity information #160

Closed Jxlle closed 8 months ago

Jxlle commented 1 year ago

Hi,

I tried to delete the temporal information for one of my entities: DELETE .../temporal/entities/urn:ngsi-ld:Transport:001

But I got the following error message:

{
    "type": "https://uri.etsi.org/ngsi-ld/errors/OperationNotSupported",
    "title": "Method is not supported.",
    "status": 422,
    "detail": "Method Not Allowed"
}

Furthermore, deleting attributes seems to return a NOT FOUND. The DELETE endpoint was retrieved from the API docs: https://github.com/FIWARE/mintaka/blob/main/api/full_api.yaml

Am I doing something wrong, or is this a bug?

Side note: Executing GET .../temporal/entities/urn:ngsi-ld:Transport:001?timeproperty=modifiedAt returns the temporal data as expected.

Jonathanroyascanio commented 10 months ago

I have the same bug anyone has updates on this issue ?

wistefan commented 10 months ago

Hi, sorry for the inconvience in the doc, but all modifying operations have to go through orion-ld. Mintaka only supports the read-operations. Best, Stefan