# Atento · Governo

> Unofficial monitor of the communiqués, news items and speeches published on the Portuguese
> Government's portal (portugal.gov.pt). It records every change made to an item after it was
> published (the text, who it is attributed to, its area, people and tags), checking each item
> again over the following days and the whole portal every 45 min. Portuguese-language content.
> Not affiliated with the Government.

How to read the data:

- "published_at" is the portal's own publication time (UTC). "updated_at" is when the portal last
  saved the item, as Sitecore reports it: the reliable sign that something was edited.
- "first_seen_at" is when this site first saw the item, within about 45 min of it appearing. Items
  already published when monitoring began have "time_known": false, and only "published_at" is theirs.
- "edited": true means the text differed in a later capture. Article pages show the changed words
  with a little context; the text itself is never republished here, so link to the original ("url").
- "job_title" is who the item is attributed to, as the portal writes it ("Ministro da Defesa
  Nacional"). Areas, officials and tags come from the portal, and changes to them are recorded too.

Licence: the data this site derives (the change history) is CC BY 4.0
(https://creativecommons.org/licenses/by/4.0/). Attribute it as "Atento · Governo (https://governo.atento.pt)". Titles,
areas, tags and the content of the items belong to the Government and are not covered by that licence.

## Data

- [Articles, JSON](https://governo.atento.pt/api/articles): newest first, 50 per page. Parameters: page, section
  (comunicados, noticias, intervencoes), area, official, tag (slugs), q (title substring), since
  (RFC 3339), edited=1. Returns total, page, page_size, articles[].
- [One article, JSON](https://governo.atento.pt/api/articles/1): /api/articles/{id}, adds the history: text versions,
  area/people/tag changes and attribution changes.
- [Recent changes, JSON](https://governo.atento.pt/api/changes): everything changed after publication, newest first.
- [Areas, officials and tags, JSON](https://governo.atento.pt/api/refs?kind=area): kind is area, official or tag.
- [Statistics, JSON](https://governo.atento.pt/api/stats)
- [All articles, CSV](https://governo.atento.pt/data/articles.csv): one row per article.
- [RSS, new items](https://governo.atento.pt/feed.xml) and [RSS, changes](https://governo.atento.pt/alteracoes.xml)

## Pages

- [About and method](https://governo.atento.pt/sobre)
- [Latest](https://governo.atento.pt/): the listing, filterable by section, area, person and tag.
- [Recent changes](https://governo.atento.pt/alteracoes)
- [Areas](https://governo.atento.pt/areas), [people](https://governo.atento.pt/pessoas), [tags](https://governo.atento.pt/tags)
- [Statistics](https://governo.atento.pt/stats)
- Article pages: https://governo.atento.pt/a/{id}, with the full change history.
