Skip to content

Potential JSON formatting issues in some cURL example #33

@schwentker

Description

@schwentker

I noticed what might be some JSON formatting issues in a few of the cURL examples that could cause problems for developers trying to use them.

Examples that might need review:

  1. Create agents example - The JSON structure appears to have some formatting issues:
    {
    type:
    type: string
    description: The type of agent used to handle queries.

  2. Bulk delete external users example - The JSON formatting seems inconsistent:
    {
    "external_users":
    "type": "array"
    "description": "List of external users to delete."

  3. Create whitelist entry example - Contains what might be a typo:
    "direction": "inboud"
    (Should this be "inbound"?)

Impact:
These formatting issues might prevent devs from successfully copying & using the examples directly.

Suggestion:
Could these examples be reviewed for JSON syntax? I tested them with a JSON validator & they showed parsing errors, though I might be missing some context about the intended format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions