Notifications

Get a single notification by ID.

get/api/Notifications/{id}

Request

  • Base URL: https://api.3dprintlog.com
  • URL: https://api.3dprintlog.com/api/Notifications/{id}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://3dprintlog.auth0.com/authorize, token URL https://3dprintlog.auth0.com/oauth/token)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Path parameters

idstring uuid required

The notification ID.

Response

The notification details.

idstring uuid
type1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Sent as an integer: 1 = Comment, 2 = PrintCompleted, 3 = PrintFailed, 4 = Achievement, 5 = SystemAnnouncement, 6 = SubscriptionActivated, 7 = SubscriptionPaymentFailed, 8 = SubscriptionCanceled.

titlestring nullable
messagestring nullable
isReadboolean
createdDatestring date-time

UTC, with an explicit offset. A bare DateTime serializes without a designator, and JavaScript reads a designator-less ISO string as local time — which silently shifted every notification timestamp in the web and mobile clients by the viewer's offset.

readDatestring date-time nullable

UTC, with an explicit offset, for the same reason as PrintLogApi.Models.DTOs.Notification.NotificationDetailDto.CreatedDate.

actionUrlstring nullable
printIdinteger nullable
printTitlestring nullable
commentIdinteger nullable
metadatastring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.