---
title: "Downloads all of the code packages associated with specified service manifest on the specified node."
method: POST
path: "/Nodes/{nodeName}/$/DeployServicePackage"
tags: ["Service Package"]
---

# Downloads all of the code packages associated with specified service manifest on the specified node.

`POST /Nodes/{nodeName}/$/DeployServicePackage`

This API provides a way to download code packages including the container images on a specific node outside of the normal application deployment and upgrade path. This is useful for the large code packages and container images to be present on the node before the actual application deployment and upgrade, thus significantly reducing the total time required for the deployment or upgrade.

## Path parameters

- `nodeName` string, required

## Query parameters

- `api-version` '6.0', required
- `timeout` integer

## Request body

- DeployServicePackageToNodeDescription — Defines description for downloading packages associated with a service manifest to image cache on a Service Fabric node.
  - `ServiceManifestName` string, required — The name of the service manifest.
  - `ApplicationTypeName` string, required — The application type name as defined in the application manifest.
  - `ApplicationTypeVersion` string, required — The version of the application type as defined in the application manifest.
  - `NodeName` string, required — The name of a Service Fabric node.
  - `PackageSharingPolicy` PackageSharingPolicyInfo[] — List of package sharing policy information.
    - `SharedPackageName` string — The name of code, configuration or data package that should be shared.
    - `PackageSharingScope` 'None' | 'All' | 'Code' | 'Config' | 'Data' — Represents the scope for PackageSharingPolicy. This is specified during DeployServicePackageToNode operation.

## Response `200`

A successful operation will return 200 status code.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
