Skip to content

/dashboards/{dashboardID}/cells PUT - property viewID in Cell schema seems to be ignored #622

Description

@karel-rehor

In the common schema Cell is a property viewID. I've tried to set erroneous values to this property and send it as part of a requestBody, however it seems to be ignored by the server. Does it still serve a purpose? Or since views are now handled by the ../cells/${cellID}/views context, can it be removed?

src/common/schemas/Cell.yml

  type: object
  properties:
    id:
      type: string
    links:
      type: object
      properties:
        self:
          type: string
        view:
          type: string
    x:
      type: integer
      format: int32
    "y": # Quoted to prevent YAML parser from interpreting y as shorthand for true.
      type: integer
      format: int32
    w:
      type: integer
      format: int32
    h:
      type: integer
      format: int32
    viewID:
      type: string
      description: The reference to a view from the views API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions