mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
Merge pull request #313 from yuce/master
Quick one - updated README with SetProfileAttrs call
This commit is contained in:
commit
d8745fa27b
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -135,6 +135,15 @@ SetBitmapAttrs(id=10, frame="foo", category=123, color="blue", happy=true)
|
|||
```
|
||||
Returns `{"results":[null]}`
|
||||
|
||||
---
|
||||
#### SetProfileAttrs()
|
||||
---
|
||||
```
|
||||
SetProfileAttrs(id=10, category=123, color="blue", happy=true)
|
||||
```
|
||||
|
||||
Returns `{"results":[null]}`
|
||||
|
||||
---
|
||||
#### Bitmap()
|
||||
```
|
||||
|
|
@ -143,6 +152,11 @@ Bitmap(id=10, frame="foo")
|
|||
Returns `{"results":[{"attrs":{"category":123,"color":"blue","happy":true},"bits":[1,2]}]}` where `attrs` are the
|
||||
attributes set using `SetBitmapAttrs()` and `bits` are the bits set using `SetBit()`.
|
||||
|
||||
In order to return profile attributes attached to the profiles of a bitmap, add `&profiles=true` to the query string. Sample response:
|
||||
```
|
||||
{"results":[{"attrs":{},"bits":[10]}],"profiles":[{"id":10,"attrs":{"category":123,"color":"blue","happy":true}}]}
|
||||
```
|
||||
|
||||
---
|
||||
#### Union()
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue