Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • URL: /services/metadata/extractor/config
    • HTTP method: GET
  • URL: /services/metadata/productType/parentmap
    • HTTP method: GET
    • Description: gets the parent-child relationship among productTypes
    • Parameters:
      • "policy": the policy directory (core, geo, etc : required)
    • Response: json text
  • URL: /services/metadata/productType/parent/add
    • HTTP method: POST
    • Description: adds a product type
    • Parameters:
      • "id": product type identifier (required)
      • "parentId": parent product type identifier
      • "policy": the policy directory (core, geo, etc : required)
    • Response: boolean
  • URL: /services/metadata/productType/parent/remove
    • HTTP method: DELETE
    • Description: removes the product type parent
    • Parameters:
      • "id": product type identifier (required)
      • "policy": the policy directory (core, geo, etc : required)
    • Response: boolean
  • URL: /services/metadata/productType/elements/add
    • HTTP method: POST
    • Description: deletes the product type
    • Parameters:
      • "id": product type identifier (required)
      • "policy": the policy directory (core, geo, etc : required)
      • "elementIds": A comma separated list of element ids
    • Response: boolean
  • URL: /services/metadata/productType/elements
    • HTTP method: GET
    • Description: fetches all valid elements for a product type
    • Parameters:
      • "id": product type identifier (required)
      • "policy": the policy directory (core, geo, etc : required)
      • "direct": if false, fetch elements for children as well (required)
    • Response: elements json
  • URL: /services/metadata/productType/elements/remove/all
    • HTTP method: DELETE
    • Description: deletes all elements for a product type
    • Parameters:
      • "id": product type identifier
      • "policy": the policy directory (core, geo, etc)
    • Response: boolean
  • URL: /services/metadata/productType/elements/remove
    • HTTP method: DELETE
    • Description: deletes specified element ids for a  product type
    • Parameters:
      • "id": product type identifier
      • "policy": the policy directory (core, geo, etc)
      • "elementIds": The element ids to remove
    • Response: boolean
  • URL: /services/metadata/productType/typeswithelement/{elementId}
    • HTTP method: GET
    • Description: get product types that have the provided elementId as a valid element
    • Parameters:
      • "policy": the policy directory (core, geo, etc)
      • "elementId": the element id
    • Response: json of all type ids

 

Note
titleCurator API Static Docs

There is also another, less maintained, API guide for the ingestion side of the curator, available here: http://oodtsvn.apache.org/repos/asf/oodt/site/components/maven/curator/api/index.html