View Tag
Copied
https://api.ocamba.com/v1/hood/tags/{id}
Copied
https://api.ocamba.com/v1/hood/tags/{id}
Retrieves the details of a Tag that has previously been created if a valid identifier was provided
Name
Descriptionidstringrequired
Unique resource identifier.Example: 12345
Name
Descriptionfieldsstring
Fields parameter represents array of dimensions and measures. Dimensions are used to categorize, segment, and reveal the details of the data. Measures contain numeric, quantitative values that can be measured. At least one measure is required.Example: fields=field1,field2,field3
viewstring
Hood API returns full representation of the resource using the "view=full" query parameter. If not specified, the default view will be used.Note that the "fields" parameter has precedence over the "view" parameter.
Example: view=full/default
200 - OK
Name
Descriptionitems[ tag ]
An array of all created items.Tag
Name
Descriptionaccountobject
Name
Descriptionconfigured_statusstring
The configured_status reflects the current status of the account configured by the client.Example: active
Possible values: active | verification | rejected paused | inactive | archived
idstring
A unique identifier generated by the Ocamba platform.Example: 1000001
imagestring (uri)
Represent the image of account.Example: https://path/logo.jpeg
namestring
Name of the account.Example: Demo Account
statusstring
The status reflects the current status of the account which may be overridden by some background processes.Example: active
Possible values: active | verification | rejected paused | inactive | archived | hourly-limit | daily-limit | monthly-limit
account_idstring
The ID of the Account, generated by the Ocamba.Example: 1000001
appsapps
All apps that belongs to the Tag, categorized by type.Apps
Name
Descriptionandroid[ string ]
Array of Android applications. Every item in array must be a valid Android app unique identifier (Package name). Android app names are case sensitive.ios[ string ]
Array of IOS applications. Every item in array must be a valid IOS app unique identifier (Bundle ID). iOS app names are case sensitive.web[ string ]
Array of Web applications. Every item in array must be a fully qualified domain name. Web app names are case insensitive and are sanitized to be lowercase.codestring
Hood JS Code Snippet.company_idstring
The ID of the Company, generated by the Ocamba.Example: 1000000
create_timestring
Timezone: GMT.Example: 2021-10-29 12:47:00
creator_idstring
The ID of the Member who create the Tag, generated by the Ocamba.Example: 1000002
descriptionstring
The more detailed description of the Tag.Example: This is my first tag.
iconstring
Url to the icon of the tag. Ocamba will try to download and save the icon based on first item in uris array.Example: http://ocamba.storage.com/1000000/hood/tags/1000/icons/favicon.ico
idstring
The ID of the Tag, generated by the Ocamba.Example: 1000
namestring
The name of the tag, provided by the client.Example: Demo Tag
settingsobject
Name
Descriptiongeneralobject
Name
Descriptionanalyticsboolean
Example: true
Default: true
consentboolean
Example: true
Default: true
crashlyticsboolean
Example: true
Default: true
include_subdomainsboolean
Example: true
Default: true
pushboolean
Example: true
Default: true
webobject
Name
Descriptionpush_keystring
Example: KKV4lql8gxn0lC6NLiLWMSgGq9Orq7ZVYsbbspNlNthspH_Uul5DzG9nx_zUvRiCvox8bLfhvjYbqWfDv9iqbLze
statsobject
Name
Descriptionpageviewsinteger
The total number of page views.Example: 10
push_subscriptionsinteger
Total number of subscriptions.Example: 2
push_unsubscriptionsinteger
Total number of unsubscriptions.Example: 1
sessionsinteger
The total number of sessions.Example: 6
usersinteger
The total number of users.Example: 4
statusstring
The status of the tag. Statuses inactive, pending and disabled are deprecated and will be removed in the future. Prefer using active, verification, rejected or paused.Example: active
Possible values: active verification rejected paused inactive pending disabled
Default: active
update_timestring
Timezone: GMT.Example: 2021-10-30 14:27:26
utm_htstring
The utm_ht is UTM Hood Tracher, generated by the Ocamba.Example: NjY4bL60NobpWTQ2O94xNDY4MjE0Np6l
totalinteger
A total number of items.Example: 1
warning
1 In order to read account or stat fields you can use predefined response (view=full). At the moment it is not possible to read those fields using fields parameter (fields=account,stats) and this kind of request will result with an error.