You plan to invite readers to discuss a Zhihu column article in its original comment section. Before publishing the invitation, check the participation conditions for that specific article.
Inspect the final article destination
Query the confirmed article identifier and retain the URL intended for the invitation. Another article by the same author may have different conditions. Date the check and repeat it if the discussion destination changes.
Interpret only clearly understood configuration
The current contract broadly describes comment-section configuration without defining every business state here. Inspect the actual response and verify its meaning against the page. Do not assume an unexplained boolean means every user can comment. A failed request does not establish that comments are closed. Existing discussion content requires a separate reading step.
Align instructions with the visible entry point
Confirm the page and the proposed invitation agree, then explain where readers should participate and any practical alternative. Configuration retrieval does not guarantee every participant can submit successfully; individual access conditions may still matter. Deliver a specific entry-point assessment rather than a claim that every discussion requirement is supported. If conditions remain unresolved, rely on confirmed arrangements instead of promising an unverified interaction.
Request URL and parameters
GET https://api.trmesh.com/openapi/api/v1/zhihu/web/fetch_column_comment_config
| Parameter | Type | Required | Meaning |
|---|---|---|---|
article_id |
string | Yes | Article ID |
Run the Python example
Install requests and set TRMESH_API_TOKEN in your environment. Replace the sample identifiers with the public object you intend to inspect. Example IDs may no longer be available.
import os
import requests
# Read your own developer key from the server environment.
url = "https://api.trmesh.com/openapi/api/v1/zhihu/web/fetch_column_comment_config"
params = {
"article_id": "YOUR_ARTICLE_ID"
}
response = requests.get(
url, params=params, timeout=30,
headers={"Authorization": f"Bearer {os.environ['TRMESH_API_TOKEN']}"},
)
response.raise_for_status()
payload = response.json()
print(payload) # Inspect the actual response before mapping fields
Endpoint documentation · Free profile tool
API calls use your TRMesh account allowance. Check the endpoint price before running a script.