public interface TagsApi
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<Message> |
addTag(Tag tag)
Create a tag if it does not yet exist.
|
retrofit2.Call<Message> |
deleteTag(String tagValue)
Delete a tag
|
retrofit2.Call<Map<String,List<String>>> |
getTags()
Get all tags, grouped into lists under their namespace prefixes (if a tag is created without a namespace prefix, it will be listed in the \"default\" group here).
|
@Headers(value="Content-Type:application/json") @POST(value="v1/tags") retrofit2.Call<Message> addTag(@Body Tag tag)
tag
- New tag (required)@Headers(value="Content-Type:application/json") @DELETE(value="v1/tags/{tagValue}") retrofit2.Call<Message> deleteTag(@Path(value="tagValue") String tagValue)
tagValue
- A tag value (required)@Headers(value="Content-Type:application/json") @GET(value="v1/tags") retrofit2.Call<Map<String,List<String>>> getTags()
Copyright © 2023 Sage Bionetworks. All rights reserved.