In the 2nd version API docs, the request payload to create a tag is:
'{
"name" : "new-tag-name",
"target" : {
"hash" : "a1b2c3d4e5f6",
}
I want to know if there's a way to set the tag message using this API.
Hi @Leo Muller,
You can pass it via message attribute:
{
"name" : "new-tag-name",
"message": "tag-message",
"target" : {
"hash" : "a1b2c3d4e5f6"
}
}
Cheers,
Daniil
Hi Daniil,
Thanks for the reply, but the documentation has no mention to the message attribute. Do you know if there's a way to ask a documentation review?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree, documentation format is sometimes quite confusing. And in this particular case request payload reference seems even misleading. Luckily there's an example which, even though not complete, is way more useful.
As far as I know fixing and updating documentation is already on the roadmap.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the responses and attention Daniil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.