@@ -159,7 +159,7 @@ const getArtifactVersionMetaData = async (config: ConfigService, auth: AuthServi
159
159
const baseHref : string = config . artifactsUrl ( ) ;
160
160
const token : string | undefined = await auth . getToken ( ) ;
161
161
const versionExpression : string = ( version == "latest" ) ? "branch=latest" : version ;
162
- const endpoint : string = createEndpoint ( baseHref , "/groups/:groupId/artifacts/:artifactId/versions/:versionExpression/meta " ,
162
+ const endpoint : string = createEndpoint ( baseHref , "/groups/:groupId/artifacts/:artifactId/versions/:versionExpression" ,
163
163
{ groupId, artifactId, versionExpression } ) ;
164
164
const options = createOptions ( createHeaders ( token ) ) ;
165
165
return httpGet < VersionMetaData > ( endpoint , options ) ;
@@ -196,7 +196,7 @@ const updateArtifactVersionMetaData = async (config: ConfigService, auth: AuthSe
196
196
const baseHref : string = config . artifactsUrl ( ) ;
197
197
const token : string | undefined = await auth . getToken ( ) ;
198
198
const versionExpression : string = ( version == "latest" ) ? "branch=latest" : version ;
199
- const endpoint : string = createEndpoint ( baseHref , "/groups/:groupId/artifacts/:artifactId/versions/:versionExpression/meta " ,
199
+ const endpoint : string = createEndpoint ( baseHref , "/groups/:groupId/artifacts/:artifactId/versions/:versionExpression" ,
200
200
{ groupId, artifactId, versionExpression } ) ;
201
201
const options = createOptions ( createHeaders ( token ) ) ;
202
202
return httpPut < EditableMetaData > ( endpoint , metaData , options ) ;
@@ -214,7 +214,7 @@ const getArtifactVersionContent = async (config: ConfigService, auth: AuthServic
214
214
const baseHref : string = config . artifactsUrl ( ) ;
215
215
const token : string | undefined = await auth . getToken ( ) ;
216
216
const versionExpression : string = ( version == "latest" ) ? "branch=latest" : version ;
217
- const endpoint : string = createEndpoint ( baseHref , "/groups/:groupId/artifacts/:artifactId/versions/:versionExpression" ,
217
+ const endpoint : string = createEndpoint ( baseHref , "/groups/:groupId/artifacts/:artifactId/versions/:versionExpression/content " ,
218
218
{ groupId, artifactId, versionExpression } ) ;
219
219
220
220
const headers : any = createHeaders ( token ) ;
0 commit comments