Packages
While not every Smalltalk call them packages, they all manage some sort of code bundles, essentially a named bunch of classes and methods, sometimes global definitions, an additional description, etc. There are some aspects however, that are specific to a given Smalltalk. For instance, there are tags in Pharo (class categories), an optional packageVersion in Dolphin, or even children in Bee, forming a project hierarchy.
For the sake of generality, Webside expects this package structure:
Where
classes
is the names of the classes defined in the package, andmethods
is the list of extensions, grouped by class name.
Endpoints
Method | Path | Description | Parameters | Payload |
---|---|---|---|---|
GET | Retrieve all packages |
| - | |
GET | Retrieve a given package | - | - | |
GET | /packages/{name}/classes | Retrieve actual classes of a given package |
| - |
GET | /packages/{name}/methods | Retrieve actual methods of a given package | - | - |
Last updated