Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.83 KB

File metadata and controls

46 lines (36 loc) · 1.83 KB

Stack

A Stack represents a collection of Projects used by a single person. A Stack belongs to an Account./,

A Stack contains zero or more StackEntries, each of which links the Stack to a single Project.

Properties

  • id The unique ID for the Stack.
  • title The name of the Stack.
  • description A short description about this Stack.
  • updated_at The most recent time at which any Projects were added to or removed from this Stack.
  • project_count The total number of Projects currently contained in this Stack.
  • stack_entries A collection of zero or more StackEntries. If the Stack object was returned in response to a collection request (/projects/x/stacks.xml), you will receive only a single StackEntry corresponding to the Project in question.
  • account_id The unique ID of the Account which owns this Stack.
  • account For convenience, a full Account object may be included here.

Collection URL

To get a list of all Stacks for a particular Project:

GET https://www.openhub.net/p/{project_id}/stacks.xml 

The Stacks returned in this collection will each contain only a single StackEntry, corresponding to the Project in question.

Each Stack in the result will also include an Account object.

The Stack collection is paginated, and supports the standard collection request parameters with the following details:

  • query If supplied, only Stacks owned by Accounts with names matching the query string will be returned.
  • sort Stack collections support the following sort options:
    • id
    • name (default)
    • created_at Time at which the Project was added to the stack
    • project_count