object

# `gravatar_api`

REST metadata and path construction helpers for the Gravatar public API.

Availability:
`logtalk_load(gravatar(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-07-09
Compilation flags:
`static, context_switching_calls`
Imports:
`public` rest
Remarks:
(none)
Inherited public predicates:
api_info/1 binary_body/2 created_response/4 form_body/2 handle/2 json_array_body/2 json_body/2 json_object_body/2 json_response/4 json_response/5 no_content_response/2 operations/1 path_parameter/3 problem_response/6 query_parameter/3 request_body/2 request_header/3 schema/2 security/1 security_scheme/2 servers/1 text_body/2

## Public predicates

### `profile_path/2`

Builds the profile endpoint path for a SHA-256 email hash or profile URL slug.

Compilation flags:
`static`
Template:
`profile_path(ProfileIdentifier,Path)`
Mode and number of proofs:
`profile_path(+atom,-atom)` - `one`

## Protected predicates

### `endpoint/5`

REST endpoint descriptor for the Gravatar profile lookup operation.

Compilation flags:
`static`
Template:
`endpoint(Id,Method,Path,Action,Options)`
Mode and number of proofs:
`endpoint(?atom,?atom,?atom,?atom,?list(compound))` - `zero_or_more`

### `profile/2`

Placeholder action for the remote Gravatar profile endpoint descriptor.

Compilation flags:
`static`
Template:
`profile(Request,Result)`
Mode and number of proofs:
`profile(+compound,--term)` - `one`

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)