Skip to content

Commit

Permalink
fix command issue (apache#9972)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer88huang-zz authored Mar 22, 2021
1 parent 02c5faf commit e58379b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions site2/docs/admin-api-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ bin/pulsar-admin packages upload functions://public/default/[email protected] --path

<!--REST API-->

{@inject: endpoint| POST |admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/?version=[[pulsar:version_number]]}
{@inject: endpoint|POST|/admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/?version=[[pulsar:version_number]]}

<!--JAVA-->
Upload a package to the package management service synchronously.
Expand All @@ -99,7 +99,7 @@ bin/pulsar-admin packages download functions://public/default/[email protected] --pat

<!--REST API-->

{@inject: endpoint| GET |admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/?version=[[pulsar:version_number]]}
{@inject: endpoint|GET|/admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/?version=[[pulsar:version_number]]}

<!--JAVA-->
Download a package to the package management service synchronously.
Expand All @@ -124,7 +124,7 @@ bin/pulsar-admin packages list --type function public/default

<!--REST API-->

{@inject: endpoint| GET |admin/v3/packages/:type/:tenant/:namespace/:packageName/?version=[[pulsar:version_number]]}
{@inject: endpoint|GET|/admin/v3/packages/:type/:tenant/:namespace/:packageName/?version=[[pulsar:version_number]]}

<!--JAVA-->
List all versions of a package synchronously.
Expand Down Expand Up @@ -174,7 +174,7 @@ bin/pulsar-admin packages get-metadata function://public/default/test@v1

<!--REST API-->

{@inject: endpoint| GET |admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/metadata/?version=[[pulsar:version_number]]}
{@inject: endpoint|GET|/admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/metadata/?version=[[pulsar:version_number]]}

<!--JAVA-->
Get the metadata of a package synchronously.
Expand All @@ -198,7 +198,7 @@ bin/pulsar-admin packages update-metadata function://public/default/[email protected]

<!--REST API-->

{@inject: endpoint| PUT |admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/metadata/?version=[[pulsar:version_number]]}
{@inject: endpoint|PUT|/admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/metadata/?version=[[pulsar:version_number]]}

<!--JAVA-->
Update a package metadata information synchronously.
Expand All @@ -225,7 +225,7 @@ bin/pulsar-admin packages delete functions://public/default/[email protected]

<!--REST API-->

{@inject: endpoint| DELETE |admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/?version=[[pulsar:version_number]]}
{@inject: endpoint|DELETE|/admin/v3/packages/:type/:tenant/:namespace/:packageName/:version/?version=[[pulsar:version_number]]}

<!--JAVA-->
Delete a specified package synchronously.
Expand Down

0 comments on commit e58379b

Please sign in to comment.