Skip to content
GitmoapAPIBeta
Schema

AiRevisionDiff

What publishing a revision would change: each change with its class and when it takes effect, and a sentence a person reads first.

Shape

  • changesarray of ConfigChangeEvery change, in path order.
    • The ConfigChange schema
    • classChangeClasspinnedorderedstructuralThe field's change class.
    • pathstringWhere the change is, as a dotted path that names list items by their keys rather than their positions: agents.ada.profile.persona, rituals.daily-stand-up.cadence, autonomy.gates.merge_protected.
    • takes_effectTakesEffectnew_sessionsnowat_publishWhen the change takes effect.
    • afteranyoptionalThe value in the draft; absent when the draft removes it.
    • beforeanyoptionalThe value in the live revision; absent when the draft adds it.
  • revisioninteger · int64The revision compared.
  • summarystringThe changes in a sentence.
  • live_revisioninteger · int64 or nulloptionalThe live revision compared against; absent before the first publish.

Example

Synthesized example
{
"changes": [
{
"class": "pinned",
"path": "path-54b8",
"takes_effect": "new_sessions"
}
],
"revision": 17,
"summary": "summary-65cf",
"live_revision": 88
}

Graph

Used inside

No schema contains this one.

Contains

Used by