Brand
Macros
Restore Archived Macro

Restore Archived Macro

GET endpoint for /brand/macros/restore-archived-macro in brand category

Overview

  • Method: GET
  • Path: /brand/macros/restore-archived-macro
  • Tags: brand

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "visibility": {
      "type": "string"
    },
    "order": {
      "type": "number"
    },
    "data": {
      "type": "object",
      "additionalProperties": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "restored_at": {
      "type": "string",
      "format": "date-time"
    },
    "restored_by": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "visibility",
    "order",
    "data",
    "created_at",
    "updated_at",
    "restored_at",
    "restored_by"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/brand/macros/restore-archived-macro \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).