Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Phone API
Preparing search index...
plugin-app/timeline
HttpPinAction
Interface HttpPinAction
An action that sends an HTTP request, as the pin guide describes it.
interface
HttpPinAction
{
bodyJSON
?:
unknown
;
bodyText
?:
string
;
failureIcon
?:
string
;
failureText
?:
string
;
headers
?:
Record
<
string
,
string
>
;
method
?:
string
;
successIcon
?:
string
;
successText
?:
string
;
title
:
string
;
type
:
"http"
;
url
:
string
;
}
Index
Properties
body
JSON?
body
Text?
failure
Icon?
failure
Text?
headers?
method?
success
Icon?
success
Text?
title
type
url
Properties
Optional
body
JSON
bodyJSON
?:
unknown
Optional
body
Text
bodyText
?:
string
Optional
failure
Icon
failureIcon
?:
string
Optional
failure
Text
failureText
?:
string
Optional
headers
headers
?:
Record
<
string
,
string
>
Optional
method
method
?:
string
Optional
success
Icon
successIcon
?:
string
Optional
success
Text
successText
?:
string
title
title
:
string
type
type
:
"http"
url
url
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
body
JSON
body
Text
failure
Icon
failure
Text
headers
method
success
Icon
success
Text
title
type
url
Pebble App Framework: Phone API
Loading...
An action that sends an HTTP request, as the pin guide describes it.