> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nonefivem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exports & Events

## Server Exports

<Accordion title="RegisterPaper">
  Registers newspaper.

  **Parameters**

  * context: [PaperContext](/no-newspaper/configuration/registering-papers#papercontext)
</Accordion>

<Accordion title="Publish">
  Publishes article on given paper id.

  **Parameters**

  * paperId: number
  * context: Article Context
</Accordion>

<Accordion title="PublishAll">
  Publishes article in all papers.

  **Parameters**

  * context: Article Context
</Accordion>

<Accordion title="GetArticles">
  Returns articles by date on given paper id.

  **Parameters**

  * paperId: number

  **Returns**

  * articles: Article Context\[]
</Accordion>

<Accordion title="GetAllArticles">
  Returns all articles on given paper id.

  **Parameters**

  * paperId: number

  **Returns**

  * articles: Article Context\[]
</Accordion>
