v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Software Catalog

Create or update entities

Create or update entities in Software Catalog.

post/api/v2/catalog/entity

Request body

OR
string required

Entity definition in raw JSON or YAML representation.

Example request

{
  "apiVersion": "v3",
  "integrations": {
    "opsgenie": {
      "serviceURL": "https://www.opsgenie.com/service/shopping-cart"
    },
    "pagerduty": {
      "serviceURL": "https://www.pagerduty.com/service-directory/Pshopping-cart"
    }
  },
  "kind": "service",
  "metadata": {
    "contacts": [
      {
        "contact": "https://slack/",
        "type": "slack"
      }
    ],
    "id": "4b163705-23c0-4573-b2fb-f6cea2163fcb",
    "inheritFrom": "application:default/myapp",
    "links": [
      {
        "name": "mylink",
        "type": "link",
        "url": "https://mylink"
      }
    ],
    "name": "myService",
    "namespace": "default",
    "tags": [
      "this:tag",
      "that:tag"
    ]
  }
}

Response

ACCEPTED