Object Properties


Overview

Get the list of properties for a specific object in an application.

URI

GET /rest/applications/{name}/objects/{id}/properties

Path parameters

name (string)

This parameter identifies the analyzed application. The application name must be properly encoded if it is required. Character back-quote is not allowed.

id (int)

ID of the object.

Query parameters

select (string)

Optional. Filter properties by type:

  • text
  • number
  • enumeration

Responses

application/json

The response is the list of properties of the specified object. Example:

[
  {
    "property": "External",
    "value": "false"
  },
  {
    "property": "File",
    "value": "§{main_sources}§/WebGoat-main/src/main/resources/lessons/sqlinjection/db/migration/V2019_09_26_7__employees.sql"
  },
  {
    "property": "Number of code lines",
    "value": 5
  },
  {
    "property": "Status",
    "value": "Added"
  }
]

JSON representation

Property Type Description
property string Name of the property.
value string/int Value of the property