GET
/
rest
/
api
/
v1
/
governance
/
documents
/
visibilityoverrides
from glean import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

    res = g_client.client.governance.documents.visibilityoverrides.list()

    # Handle response
    print(res)
{
  "visibilityOverrides": [
    {
      "docId": "<string>",
      "override": "NONE"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

docIds
string[]

List of doc-ids which will have their hide status fetched.

Response

200
application/json; charset=UTF-8

The visibility status of documents

The response is of type object.