At

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

        - add timeline index pref to bsky::actor::savedFeedsPref
    - Update according to lexicon changes in bluesky-social/atproto@15f3856
        - manage communication templates for moderation purposes

0.17 2024-02-13T19:46:37Z

    - Work in progress: Refactor methods with more than one optional parameter to accept a hash
    - Update according to lexicon changes in bluesky-social/atproto@9579bec
        - temp_fetchLabels(...) has been deprecated; use label_queryLabels(...) or label_subscribeLabels(...) instead
    - Update according to lexicon changes in bluesky-social/atproto@b400fae
        - sanity check on DID in server_reserveSigningKey(...) endpoint.

0.16 2024-02-11T00:04:55Z

    - Work in progress: Refactor methods with more than one optional parameter to accept a hash
    - Bluesky no longer requires an invite to create an account
    - Update according to lexicon changes in bluesky-social/atproto@e4ec7af
       - add date range and comment filter to queryModerationEvents endpoint

0.15 2024-01-27T23:37:51Z

    - Minor bug sweep as I work on a functioning client

0.14 2024-01-27T21:45:25Z

    - Minor bug sweep as I work on a functioning client

0.13 2024-01-26T19:00:20Z

Changes  view on Meta::CPAN


0.10 2024-01-25T05:01:45Z

    - Minor bug sweep as I work on a functioning client

0.09 2024-01-24T21:30:18Z

    - Update according to lexicon changes in bluesky-social/atproto@dac5c9e
       - tagged suggestions
    - Update according to lexicon changes in bluesky-social/atproto@fb979b1
       - social graph relationships endpoint

0.08 2024-01-23T01:48:21Z

    - Resume expired sessions with $at->server_refreshSession( ... )

0.07 2024-01-20T22:54:55Z

    - Login failures are fatal errors
    - New system to resume an authenticated session
    - Update according to lexicon changes in bluesky-social/atproto@15f3856

README.md  view on Meta::CPAN

    }
);
```

Sends an HTTP get request to the service.

Expected parameters include:

- `identifier` - required

    Lexicon endpoint.

- `content`

    This will be passed along to the endpoint as query parameters.

On success, the content is returned. If the lexicon is known, the returned data is coerced into simple (blessed)
objects.

On failure, a throwable error object is returned which will have a false boolean value.

In array context, the resonse headers are also returned.

## `post( ... )`

README.md  view on Meta::CPAN

    }
);
```

Sends an HTTP POST request to the service.

Expected parameters include:

- `identifier` - required

    Lexicon endpoint.

- `content`

    This will be passed along to the endpoint as encoded JSON.

On success, the content is returned. If the lexicon is known, the returned data is coerced into simple (blessed)
objects.

On failure, a throwable error object is returned which will have a false boolean value.

In array context, the resonse headers are also returned.

# Error Handling

lib/At.pm  view on Meta::CPAN

    );

Sends an HTTP get request to the service.

Expected parameters include:

=over

=item C<identifier> - required

Lexicon endpoint.

=item C<content>

This will be passed along to the endpoint as query parameters.

=back

On success, the content is returned. If the lexicon is known, the returned data is coerced into simple (blessed)
objects.

On failure, a throwable error object is returned which will have a false boolean value.

In array context, the resonse headers are also returned.

lib/At.pm  view on Meta::CPAN

    );

Sends an HTTP POST request to the service.

Expected parameters include:

=over

=item C<identifier> - required

Lexicon endpoint.

=item C<content>

This will be passed along to the endpoint as encoded JSON.

=back

On success, the content is returned. If the lexicon is known, the returned data is coerced into simple (blessed)
objects.

On failure, a throwable error object is returned which will have a false boolean value.

In array context, the resonse headers are also returned.

lib/At/Protocol/NSID.pm  view on Meta::CPAN

    use At::Protocol::NSID qw[:all];
    try {
        ensureValidNSID( 'net.users.bob.ping' );
    }
    catch($err) {
        ...; # do something about it
    }

=head1 DESCRIPTION

Namespaced Identifiers (NSIDs) are used to reference Lexicon schemas for records, XRPC endpoints, and more.

The basic structure and semantics of an NSID are a fully-qualified hostname in Reverse Domain-Name Order, followed by a
simple name. The hostname part is the B<domain authority>, and the final segment is the B<name>.

This package aims to validate them.

=head1 Functions

You may import functions by name or with the C<:all> tag.

share/lexicons/com/atproto/label/queryLabels.json  view on Meta::CPAN

{
  "lexicon": 1,
  "id": "com.atproto.label.queryLabels",
  "defs": {
    "main": {
      "type": "query",
      "description": "Find labels relevant to the provided AT-URI patterns. Public endpoint for moderation services, though may return different or additional results with auth.",
      "parameters": {
        "type": "params",
        "required": ["uriPatterns"],
        "properties": {
          "uriPatterns": {
            "type": "array",
            "items": { "type": "string" },
            "description": "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI."
          },
          "sources": {

share/lexicons/com/atproto/label/subscribeLabels.json  view on Meta::CPAN

{
  "lexicon": 1,
  "id": "com.atproto.label.subscribeLabels",
  "defs": {
    "main": {
      "type": "subscription",
      "description": "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.",
      "parameters": {
        "type": "params",
        "properties": {
          "cursor": {
            "type": "integer",
            "description": "The last known event seq number to backfill from."
          }
        }
      },
      "message": {

share/lexicons/com/atproto/server/reserveSigningKey.json  view on Meta::CPAN

{
  "lexicon": 1,
  "id": "com.atproto.server.reserveSigningKey",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Reserve a repo signing key, for use with account creation. Necessary so that a DID PLC update operation can be constructed during an account migraiton. Public and does not require auth; implemented by PDS. NOTE: this endpoint ma...
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "properties": {
            "did": {
              "type": "string",
              "format": "did",
              "description": "The DID to reserve a key for."
            }

share/lexicons/com/atproto/sync/subscribeRepos.json  view on Meta::CPAN

{
  "lexicon": 1,
  "id": "com.atproto.sync.subscribeRepos",
  "defs": {
    "main": {
      "type": "subscription",
      "description": "Repository event stream, aka Firehose endpoint. Outputs repo commits with diff data, and identity update events, for all repositories on the current server. See the atproto specifications for details around stream sequencing, re...
      "parameters": {
        "type": "params",
        "properties": {
          "cursor": {
            "type": "integer",
            "description": "The last known event seq number to backfill from."
          }
        }
      },
      "message": {

share/lexicons/com/atproto/sync/subscribeRepos.json  view on Meta::CPAN

        },
        "time": {
          "type": "string",
          "format": "datetime",
          "description": "Timestamp of when this message was originally broadcast."
        }
      }
    },
    "identity": {
      "type": "object",
      "description": "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
      "required": ["seq", "did", "time"],
      "properties": {
        "seq": { "type": "integer" },
        "did": { "type": "string", "format": "did" },
        "time": { "type": "string", "format": "datetime" },
        "handle": {
          "type": "string",
          "format": "handle",
          "description": "The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in...
        }



( run in 1.086 second using v1.01-cache-2.11-cpan-49f99fa48dc )