Packages_getPackage

Get package by id.

SecuritybearerAuth
Request
path Parameters
id
required
string

Package id

query Parameters
version
string

The package version

Responses
200

Ok

get/packages/{id}
Request samples

project.packages.get(package_id='package_id')

# 
# Get Package object to use in your code.
# 
# **Prerequisites**: You must be in the role of an *owner* or *developer*.
# 
# :param str package_id: package id
# :param str package_name: package name
# :param bool checkout: set the package as a default package object (cookies)
# :param fetch: optional - fetch entity from platform, default taken from cookie
# :return: Package object
# :rtype: dtlpy.entities.package.Package
# 
# 
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "version": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "creator": "string",
  • "name": "string",
  • "global": true,
  • "projectId": "string",
  • "codebase": {
    },
  • "modules": [
    ],
  • "uiHooks": [
    ],
  • "slots": [
    ],
  • "serviceConfig": {
    },
  • "type": "app",
  • "requirements": [
    ],
  • "metadata": {
    },
  • "panels": [
    ]
}