Skip to main content
GET
/
public
/
:id
Get Public Index Details
curl --request GET \
  --url https://api.contextone.com/public/:id \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "type": "repo",
    "name": "<string>",
    "description": "<string>",
    "source": "<string>",
    "indexType": "<string>",
    "popularity": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "versions": [
      {
        "id": 123,
        "status": "COMPLETED",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Entity ID

Query Parameters

type
enum<string>

Entity type hint

Available options:
repo,
docs

Response

200 - application/json

Entity details

success
boolean
required
data
object
required
I