Skip to content

Gets schema from the schema repository.

Request

Retrieve a schema using its system defined id. Required roles 'users.datalake.viewers' or 'users.datalake.editors' or 'users.datalake.admins' groups to get the schema.

Security
bearer
Path
idstringrequired

the system id of the schema

Example:osdu:wks:wellbore:1.0.0
Headers
data-partition-idstringrequired

desired data partition id

curl -i -X GET \
  https://as5.api.enterprisedata.slb.com/api/schema-service/v1/schema/osdu:wks:wellbore:1.0.0 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'data-partition-id: string'

Responses

search results matching criteria

Bodyapplication/json
object
Response
{ "$schema": "http://json-schema.org/draft-07/schema#", "description": "The entity shapefile.", "title": "ShapeFile", "type": "object", "definitions": {}, "properties": {} }