The "wellcoreimagedata" web service provides an information about an individual well core image.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/coreimages/{coreimageuniqueid} with the GET method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
coreimageuniqueid: a unique id of a well core image
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindWellCoreImageByUniqueIdJsonActor:FindWellCoreImageByUniqueIdEntitlementCheckResponse for FindWellCoreImageByUniqueIdEntitlementCheckRequest of FindWellCoreImageByUniqueIdRequest:FindWellCoreImageByUniqueIdRequest{klass=AbstractWellCoreImageFinder, sourceName=5914011f-23da-4be1-b648-07713893b575, wellCoreImageUniqueId=coreId=41 (java.lang.String)\ncoreType=Core Images (java.lang.String)\nwellId=829 (java.lang.String), sourceType=ppdm}"
},
"data": {
"id": "{\"tuple\":[{\"name\":\"coreId\",\"value\":\"41\"},{\"name\":\"coreType\",\"value\":\"Core Images\"},{\"name\":\"wellId\",\"value\":\"829\"}]}",
"content": {
"name": "Core001_Wet_473.000-473.93.jpg",
"startDepth": 4003.0,
"endDepth": 4000.0,
"unit": "ft",
"mimeType": "image/jpeg",
"size": 236139
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/coreimage",
"href": "/ivaap/api/ds/ppdm/v1/sources/5914011f-23da-4be1-b648-07713893b575/coreimages/%7B%22tuple%22%3A%5B%7B%22name%22%3A%22coreId%22%2C%22value%22%3A%2241%22%7D%2C%7B%22name%22%3A%22coreType%22%2C%22value%22%3A%22Core%20Images%22%7D%2C%7B%22name%22%3A%22wellId%22%2C%22value%22%3A%22829%22%7D%5D%7D",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
},
{
"rel": "Content",
"name": "Content",
"relEntity": "v1/schema/int/aliasablecontent",
"aliaserHref": "/ivaap/api/ds/ppdm/v1/aliases",
"href": "/ivaap/api/ds/ppdm/v1/sources/5914011f-23da-4be1-b648-07713893b575/coreimages/%7B%22tuple%22%3A%5B%7B%22name%22%3A%22coreId%22%2C%22value%22%3A%2241%22%7D%2C%7B%22name%22%3A%22coreType%22%2C%22value%22%3A%22Core%20Images%22%7D%2C%7B%22name%22%3A%22wellId%22%2C%22value%22%3A%22829%22%7D%5D%7D/content",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
}
The id entry is the unique id of a well core image.
In the content section:
name is the name of a well core image
startDepth is the depth corresponding to the top of a well core image
endDepth is the depth corresponding to the bottom of a well core image
unit is the depth unit of measurement of a well core image
mimeType is the mime type of a well core image
size is the size in bytes of a well core image
The links section provides HATEOAS links to the services supported by this well core image.
If the specified coreimageuniqueid doesn't match a valid well core image, 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.