diff --git a/docs/API.md b/docs/API.md index 55287bd8..7a3b2d4d 100644 --- a/docs/API.md +++ b/docs/API.md @@ -42,7 +42,7 @@ var s3Client = new Minio.Client({ | [`getBucketTagging`](#getBucketTagging) | [`removeIncompleteUpload`](#removeIncompleteUpload) | | | | | | [`setBucketTagging`](#setBucketTagging) | [`putObjectRetention`](#putObjectRetention) | | | | | | [`removeBucketTagging`](#removeBucketTagging) | [`getObjectRetention`](#getObjectRetention) | | | | | -| [`setBucketLifecycle`](#setBucketLifecycle) | [`putObjectTagging`](#putObjectTagging) | | | | | +| [`setBucketLifecycle`](#setBucketLifecycle) | [`setObjectTagging`](#setObjectTagging) | | | | | | [`getBucketLifecycle`](#getBucketLifecycle) | [`removeObjectTagging`](#removeObjectTagging) | | | | | | [`removeBucketLifecycle`](#removeBucketLifecycle) | [`getObjectTagging`](#getObjectTagging) | | | | | | [`setObjectLockConfig`](#setObjectLockConfig) | [`getObjectLegalHold`](#getObjectLegalHold) | | | | | @@ -1487,8 +1487,6 @@ minioClient.getObjectRetention('bucketname', 'bucketname', { versionId: "my-vers }) ``` - -### putObjectTagging(bucketName, objectName, tags[, putOpts, callback]) ### setObjectTagging(bucketName, objectName, tags[, putOpts, callback]) diff --git a/tests/functional/functional-tests.js b/tests/functional/functional-tests.js index 58bb865e..90ea79f1 100644 --- a/tests/functional/functional-tests.js +++ b/tests/functional/functional-tests.js @@ -2498,7 +2498,7 @@ describe('functional tests', function () { }, ) - step(`putObjectTagging object_bucketName:${tagsBucketName}, objectName:${tagObjName},`, (done) => { + step(`setObjectTagging object_bucketName:${tagsBucketName}, objectName:${tagObjName},`, (done) => { client.setObjectTagging(tagsBucketName, tagObjName, { 'test-tag-key-obj': 'test-tag-value-obj' }, (err) => { if (err && err.code === 'NotImplemented') { return done()