moebooru icon indicating copy to clipboard operation
moebooru copied to clipboard

How do you use /post/revert_tags.xml ?

Open fireattack opened this issue 4 years ago • 2 comments

I tried to use it, but have no idea what is history_id. For example for post 817023, I tried to put either the change id 3790450 or another id I found in the JS, 10735348, none of them work. All I got is 404.

fireattack avatar Jul 16 '21 21:07 fireattack

That endpoint is kinda dead. The correct one is /history/undo with the change id 3... you found.

nanaya avatar Jul 16 '21 22:07 nanaya

Thanks, it works, but you actually have to use the second id (10735348) in this case.

Sometimes a rev id has multiple these ids, for example change:3778602 have [ 10700695, 10700696 ]. It looks they are for different types of changes (parenting, tags, rating, etc).

fireattack avatar Jul 16 '21 23:07 fireattack