Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/get-recent-activity-data-for-a-user.StatusCodes.json

105 lines
3.0 KiB
JSON

{
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"result": {
"description": "A list of recent activity objects",
"items": {
"properties": {
"action": {
"description": "Action taken describing type of activity",
"type": "string"
},
"item_title": {
"description": "Title of item",
"type": "string"
},
"item_type": {
"description": "Type of item, e.g. slice or dashboard",
"type": "string"
},
"item_url": {
"description": "URL to item",
"type": "string"
},
"time": {
"description": "Time of activity, in epoch milliseconds",
"type": "number"
},
"time_delta_humanized": {
"description": "Human-readable description of how long ago activity took place.",
"type": "string"
}
},
"type": "object",
"title": "RecentActivity"
},
"type": "array"
}
},
"type": "object",
"title": "RecentActivityResponseSchema"
},
"example": { "result": [] }
}
},
"description": "A List of recent activity objects"
},
"400": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": { "message": "Bad request: Invalid parameters provided" }
}
},
"description": "Bad request"
},
"401": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": { "message": "Unauthorized: Authentication required" }
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": {
"message": "Forbidden: You don't have permission to access this resource"
}
}
},
"description": "Forbidden"
},
"500": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": {
"message": "Internal server error: An unexpected error occurred"
}
}
},
"description": "Fatal error"
}
}
}