Retrieve packages

Retrieve all packages in the system.

URL: /packages

Method: GET

Query Options

Option
Type
Description

names

boolean

true to get only package names

Success Responses

Code : 200 OK

Content: [package] where package is defined as:

{
	"name": "string",
	"classes": ["string"],
	"methods": {
		"classname": ["selector"]
	},
	"categories": ["category"],
    "modified": "boolean"
}

Where:

  • category is defined as:

  • modified is an optional property indicating whether the package was modified in the current session.

Example:: The following is the partial result of GET /packages on Pharo.

Last updated