POST
/
rest
/
api
/
v1
/
feedback
from glean import Glean, models
import os


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

    g_client.client.activity.feedback(feedback1={
        "tracking_tokens": [
            "trackingTokens",
        ],
        "event": models.Event.VIEW,
    })

    # Use the SDK ...

Authorizations

Authorization
string
header
required

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

Headers

X-Glean-ActAs
string

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

Query Parameters

feedback
string

A URL encoded versions of Feedback. This is useful for requests.

Body

application/json

Response

200

OK