GET api/PublicNotes/{userId}

Get all the public notes tile entities for a user. - May be accessed anonymously

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

List of all user's public note tiles. The data inculdes the note URL slug and modified date.

Collection of NoteTitleEntity
NameDescriptionTypeAdditional information
NoteId

string

None.

Title

string

None.

ModifiedDateUtc

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "NoteId": "sample string 1",
    "Title": "sample string 2",
    "ModifiedDateUtc": "2021-09-22T05:34:48.2443892-05:00"
  },
  {
    "NoteId": "sample string 1",
    "Title": "sample string 2",
    "ModifiedDateUtc": "2021-09-22T05:34:48.2443892-05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNoteTitleEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyOnlineNotes.Models">
  <NoteTitleEntity>
    <ModifiedDateUtc>2021-09-22T05:34:48.2443892-05:00</ModifiedDateUtc>
    <NoteId>sample string 1</NoteId>
    <Title>sample string 2</Title>
  </NoteTitleEntity>
  <NoteTitleEntity>
    <ModifiedDateUtc>2021-09-22T05:34:48.2443892-05:00</ModifiedDateUtc>
    <NoteId>sample string 1</NoteId>
    <Title>sample string 2</Title>
  </NoteTitleEntity>
</ArrayOfNoteTitleEntity>