Skip to content

Commit 7e9c78a

Browse files
committed
update readme
1 parent b0c6e1b commit 7e9c78a

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,15 @@ Remove multiple tags from multiple files using array of file ids and array of ta
509509
imagekitio.delete_bulk_tags(file_ids: ['id_1', 'id_2'], tags: ['custom_tags', 'image'])
510510
```
511511

512-
**15. Create Folder**
512+
**15. Delete Bulk Ai Tags**
513+
514+
Delete bulk ai tags as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/remove-aitags-bulk)
515+
516+
```ruby
517+
imagekitio.delete_bulk_ai_tags(file_ids: ['id_1', 'id_2'], ai_tags: ['custom_ai_tags'])
518+
```
519+
520+
**16. Create Folder**
513521

514522
Create folder as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/create-folder)
515523

@@ -521,39 +529,39 @@ imagekitio.create_folder(
521529
```
522530

523531

524-
**16. Copy Folder**
532+
**17. Copy Folder**
525533

526534
Copy folder as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/copy-folder)
527535

528536
```ruby
529537
imagekitio.copy_folder(source_folder_path: '/folder/to/copy', destination_path: '/folder/to/copy/into')
530538
```
531539

532-
**17. Move Folder**
540+
**18. Move Folder**
533541

534542
Move folder as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/move-folder)
535543

536544
```ruby
537545
imagekitio.move_folder(source_folder_path: '/folder/to/move', destination_path: '/folder/to/move/into/')
538546
```
539547

540-
**18. Delete Folder**
548+
**19. Delete Folder**
541549

542550
Delete folder as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/delete-folder)
543551

544552
```ruby
545553
imagekitio.delete_folder(folder_path: 'folder/to/delete')
546554
```
547555

548-
**19. Bulk Job Status**
556+
**20. Bulk Job Status**
549557

550558
Get the bulk job status as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/copy-move-folder-status)
551559

552560
```ruby
553561
imagekitio.bulk_job_status(job_id: 'job_id_xyz')
554562
```
555563

556-
**20. Create Custom Metadata Fields**
564+
**21. Create Custom Metadata Fields**
557565

558566
Create custom metadata fields as per the [API documentation here](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/create-custom-metadata-field)
559567

@@ -570,7 +578,7 @@ imagekitio.create_custom_metadata_field(
570578
)
571579
```
572580

573-
**21. Get Custom Metadata Fields**
581+
**22. Get Custom Metadata Fields**
574582

575583
Get the custom metadata fields as per the [API documentation here](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/get-custom-metadata-field)
576584

@@ -580,15 +588,15 @@ imagekitio.get_custom_metadata_field(
580588
)
581589
```
582590

583-
**22. Update Custom Metadata Fields**
591+
**23. Update Custom Metadata Fields**
584592

585593
Update custom metadata fields as per the [API documentation here](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/update-custom-metadata-field)
586594

587595
```ruby
588596
imagekitio.update_custom_metadata_field(id: 'file_id_xyz', label: 'custom-price', schema: nil)
589597
```
590598

591-
**23. Delete Custom Metadata Fields**
599+
**24. Delete Custom Metadata Fields**
592600

593601
Delete custom metadata fields as per the [API documentation here](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/delete-custom-metadata-field)
594602

lib/imagekitio/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def delete_bulk_tags(file_ids: [], tags: [])
129129
@bulk_service.remove_tags(file_ids: file_ids, tags: tags)
130130
end
131131

132-
def remove_bulk_ai_tags(file_ids: [], ai_tags: [])
132+
def delete_bulk_ai_tags(file_ids: [], ai_tags: [])
133133
@bulk_service.remove_ai_tags(file_ids: file_ids, ai_tags: ai_tags)
134134
end
135135

0 commit comments

Comments
 (0)