The "deleteseismic" web service deletes a seismic dataset.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/seismic/{seismicuniqueId}
where
datasourcetype: type of a datasource, i.e. geofiles, s3, etc.
datasource: unique id of a datasource
seismicuniqueid: unique id of a seismic
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteSeismicByUniqueIdJsonActor:DeleteSeismicByUniqueIdResponse for DeleteSeismicByUniqueIdRequest:DeleteSeismicByUniqueIdRequest{klass=AbstractSeismicDataUpdater, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, uniqueId=b3c2197a-990e-4442-99bd-03d0fdf944af, pathInfo=/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/seismic/b3c2197a-990e-4442-99bd-03d0fdf944af}"
},
"isDeleted": true,
"links": [
{
"rel": "Seismic",
"name": "Seismic",
"relEntity": "v1/schema/int/seismic",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/seismic",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a dataset has been deleted.
The links section provide a HATEOAS link to the seismicmeta service.
If the specified seismicuniqueid doesn't match a valid seismic dataset, no JSON response will be provided. The HTTP response will only show a "InvalidUniqueId" (error 404) in its headers.
The content of this web service is pluggable so that information specific to your data format can be included. To add your own content, extend the com.interactive.ivaapapi.json.AbstractJsonBuilder class.